Special.ZernikeZ Method

Evaluates the Zernike polynomial of the specified radial degree and azimuthal frequency.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public static double ZernikeZ(
	int radialDegree,
	int azimuthalFrequency,
	bool normalize,
	double x,
	double angle
)

Parameters

radialDegree  Int32
The radial degree of the Zernike polynomial.
azimuthalFrequency  Int32
The azimuthal frequency of the Zernike polynomial. A negative value indicates the sine function is returned.
normalize  Boolean
Specifies whether the Zernike polynomial should be normalized.
x  Double
A real number that specifies the radial argument.
angle  Double
A real number that specifies the angular argument.

Return Value

Double
The value of the Zernike polynomial of radial degree radialDegree and azimuthal frequency azimuthalFrequency evaluated at x and angle.

Exceptions

ArgumentOutOfRangeException

radialDegree is less than zero.

See Also