Special.Zernike RSequence Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Zernike | Evaluates a sequence of Zernike polynomials. |
Zernike | Evaluates a sequence of Zernike polynomials of increasing degree starting at the specified degree and returns the result in the specified vector. |
ZernikeRSequence(Func<Int32, Int32, Int32>, Int32, Double)
Evaluates a sequence of Zernike polynomials.
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
Argument | maxRadialDegree is less than zero. |
Argument | scheme is null. |
ZernikeRSequence(Func<Int32, Int32, Int32>, Int32, Double, Vector<Double>)
Evaluates a sequence of Zernike polynomials of increasing degree
starting at the specified degree
and returns the result in the specified vector.
public static Vector<double> ZernikeRSequence(
Func<int, int, int> scheme,
int maxRadialDegree,
double x,
Vector<double> result
)
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.
- result Vector<Double>
- The vector that is to hold the result. May be null.
Return Value
Vector<Double>The vector result, which contains the values of the radial Zernike polynomials with radial degree up to maxRadialDegree in the order specified by scheme evaluated at x.
Exceptions
Argument | scheme is null. |
Argument | maxRadialDegree is less than zero. |