Special.Zernike Z 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.4
C#
The value of the Zernike polynomial of radial degree radialDegree and azimuthal frequency azimuthalFrequency evaluated at x and angle.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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
DoubleThe value of the Zernike polynomial of radial degree radialDegree and azimuthal frequency azimuthalFrequency evaluated at x and angle.
Exceptions
Argument | radialDegree is less than zero. |