Evaluates an expansion of Zernike polynomials up to the specified radial degree.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static double ZernikeZExpansion(
Func<int, int, int> scheme,
Vector<double> coefficients,
bool normalize,
double x,
double angle,
int maxRadialDegree
)
Public Shared Function ZernikeZExpansion (
scheme As Func(Of Integer, Integer, Integer),
coefficients As Vector(Of Double),
normalize As Boolean,
x As Double,
angle As Double,
maxRadialDegree As Integer
) As Double
public:
static double ZernikeZExpansion(
Func<int, int, int>^ scheme,
Vector<double>^ coefficients,
bool normalize,
double x,
double angle,
int maxRadialDegree
)
static member ZernikeZExpansion :
scheme : Func<int, int, int> *
coefficients : Vector<float> *
normalize : bool *
x : float *
angle : float *
maxRadialDegree : int -> float
Parameters
- scheme
- Type: SystemFuncInt32, Int32, Int32
A delegate that maps radial degree and azimuthal
frequency to a linear index. - coefficients
- Type: Extreme.MathematicsVectorDouble
A matrix containing the coefficients in the lower triangular part. - normalize
- Type: SystemBoolean
Specifies whether the Zernike polynomial
should be normalized. - x
- Type: SystemDouble
A real number that specifies the radial argument. - angle
- Type: SystemDouble
A real number that specifies the angular argument. - maxRadialDegree
- Type: SystemInt32
The highest radial degree
of the polynomials to include in the series.
Return Value
Type:
DoubleThe sum of the Zernike polynomials with radial degree
up to
maxRadialDegree evaluated at
x
and
angle
and multiplied by the corresponding element of
coefficients.
If maxRadialDegree is less than zero,
then zero is returned.
Reference