Special.Zernike
            
            Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
Overload List
| Zernike | Evaluates a sequence of Zernike polynomials of increasing radial degree and azimuthal frequency. | 
| Zernike | Evaluates a sequence of Zernike polynomials and returns the result in the specified vector. | 
ZernikeZSequence(Func<Int32, Int32, Int32>, Int32, Boolean, Double, Double)
            Evaluates a sequence of Zernike polynomials of increasing radial degree
            and azimuthal frequency.
            
public static Vector<double> ZernikeZSequence(
	Func<int, int, int> scheme,
	int maxRadialDegree,
	bool normalize,
	double x,
	double angle
)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.
- 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
Vector<Double>A vector that contains the values of the radial Zernike polynomials ordered according to scheme up to radial degree maxRadialDegree at x .
Exceptions
| Argument | maxRadialDegree is less than zero. | 
| Argument | scheme is null. | 
ZernikeZSequence(Func<Int32, Int32, Int32>, Int32, Boolean, Double, Double, Vector<Double>)
            Evaluates a sequence of Zernike polynomials 
            and returns the result in the specified vector.
            
public static Vector<double> ZernikeZSequence(
	Func<int, int, int> scheme,
	int maxRadialDegree,
	bool normalize,
	double x,
	double angle,
	Vector<double>? result = null
)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.
- 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.
- result Vector<Double> (Optional)
- Optional. The vector that is to hold the result. May be null.
Return Value
Vector<Double>The vector result, which contains the Zernike polynomials up to degree maxRadialDegree ordered according to scheme evaluated at x and angle.
Exceptions
| Argument | maxRadialDegree is less than zero. | 
| Argument | scheme is null. |