Woolz Image Processing  Version 1.8.3
AlgPoly

Files

file  AlgGaussLegendrePoly.c
 Functions for Gauss-Legendre polynomials.
 

Functions

double AlgGaussLegendreWeights (int n, int i)
 Returns the Gauss-Legendre polynomial weight for the given order and point number. The weights are ordered such that AlgGaussLegendrePoints[n,i] < AlgGaussLegendrePoints[n,i+1]. More...
 
double AlgGaussLegendrePoints (int n, int i)
 Returns the Gauss-Legendre polynomial point for the given order and point number. The points are ordered such that AlgGaussLegendrePoints[n,i] < AlgGaussLegendrePoints[n,i+1]. More...
 

Detailed Description

Function Documentation

◆ AlgGaussLegendreWeights()

double AlgGaussLegendreWeights ( int  n,
int  i 
)

Returns the Gauss-Legendre polynomial weight for the given order and point number. The weights are ordered such that AlgGaussLegendrePoints[n,i] < AlgGaussLegendrePoints[n,i+1].

Returns
Gauss-Legendre polynomial weight.
Parameters
nOrder, must be in the valid range [1 - ALG_GAUSSLEGENDRE_ORDER_MAX].
iPoint number, must be in the valid range [0 - (n - 1)].

Referenced by WlzBSplineLength().

◆ AlgGaussLegendrePoints()

double AlgGaussLegendrePoints ( int  n,
int  i 
)

Returns the Gauss-Legendre polynomial point for the given order and point number. The points are ordered such that AlgGaussLegendrePoints[n,i] < AlgGaussLegendrePoints[n,i+1].

Returns
Gauss-Legendre polynomial point.
Parameters
nOrder, must be in the valid range [1 - ALG_GAUSSLEGENDRE_ORDER_MAX].
iPoint number, must be in the valid range [0 - (n - 1)].

Referenced by WlzBSplineLength().