Special.GegenbauerC Method

Evaluates the Gegenbauer polynomial of the specified degree.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public static double GegenbauerC(
	int degree,
	double alpha,
	double x
)

Parameters

degree  Int32
The degree of the Gegenbauer polynomial.
alpha  Double
The parameter of the Gegenbauer polynomial.
x  Double
A real number.

Return Value

Double
The value of the Gegenbauer polynomial with parameter alpha of degree degree evaluated at x.

Exceptions

ArgumentOutOfRangeException

degree is less than zero.

See Also