Special.ZernikeRSequence(Func<Int32, Int32, Int32>, Int32, Double) Method

Evaluates a sequence of Zernike polynomials.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static Vector<double> ZernikeRSequence(
	Func<int, int, int> scheme,
	int maxRadialDegree,
	double x
)

Parameters

scheme  Func<Int32, Int32, Int32>
A delegate that maps radial degree and azimuthal frequency to a linear index.
maxRadialDegree  Int32
The highest radial degree to include in the sequence.
x  Double
A real number.

Return Value

Vector<Double>
A vector that contains the values of the radial Zernike polynomials ordered according to scheme up to radial degree maxRadialDegree evaluated at x .

Exceptions

ArgumentOutOfRangeException

maxRadialDegree is less than zero.

ArgumentNullException

scheme is null.

See Also