Special.Zernike RSequence(Func<Int 32, Int 32, Int 32>, Int 32, Double, Vector<Double>) Method
Evaluates a sequence of Zernike polynomials of increasing degree
starting at the specified degree
and returns the result in the specified vector.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
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.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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. |