Special.ZernikeZPartialSequence Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

ZernikeZPartialSequence(Func<Int32, Int32, Int32>, Int32, Boolean, Double, Double) Evaluates a sequence of Zernike polynomials of increasing radial degree and azimuthal frequency.
ZernikeZPartialSequence(Func<Int32, Int32, Int32>, Int32, Boolean, Double, Double, Vector<Double>) Evaluates a sequence of Zernike polynomials of increasing radial degree of the specified length and returns the result in the specified vector.

ZernikeZPartialSequence(Func<Int32, Int32, Int32>, Int32, Boolean, Double, Double)

Evaluates a sequence of Zernike polynomials of increasing radial degree and azimuthal frequency.
C#
public static Vector<double> ZernikeZPartialSequence(
	Func<int, int, int> scheme,
	int length,
	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.
length  Int32
The number of terms 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 first length radial Zernike polynomials ordered according to scheme at x .

Exceptions

ArgumentOutOfRangeException

length is less than zero.

ArgumentNullException

scheme is null.

ZernikeZPartialSequence(Func<Int32, Int32, Int32>, Int32, Boolean, Double, Double, Vector<Double>)

Evaluates a sequence of Zernike polynomials of increasing radial degree of the specified length and returns the result in the specified vector.
C#
public static Vector<double> ZernikeZPartialSequence(
	Func<int, int, int> scheme,
	int length,
	bool normalize,
	double x,
	double angle,
	Vector<double> result
)

Parameters

scheme  Func<Int32, Int32, Int32>
A delegate that maps radial degree and azimuthal frequency to a linear index.
length  Int32
The number of terms 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>
The vector that is to hold the result. May be null.

Return Value

Vector<Double>
The vector result, which contains the values of the first length Zernike polynomials ordered according to scheme evaluated at x and angle.

Exceptions

ArgumentOutOfRangeException

length is less than zero.

ArgumentNullException

scheme is null.

See Also