Special.GegenbauerCSequence(Int32, Int32, Double, Double) Method

Evaluates a sequence of Gegenbauer polynomials of increasing degree starting at the specified degree.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static Vector<double> GegenbauerCSequence(
	int startDegree,
	int length,
	double lambda,
	double x
)

Parameters

startDegree  Int32
An integer that specifies the first degree in the sequence.
length  Int32
The length of the sequence.
lambda  Double
The parameter of the Gegenbauer polynomials.
x  Double
A real number.

Return Value

Vector<Double>
A vector that contains length values of the Gegenbauer polynomial with parameter lambda and of increasing orders starting from startDegree evaluated at x.

Exceptions

ArgumentOutOfRangeException

startDegree is less than zero.

-or-

length is less than zero.

See Also