Special.Gegenbauer C Method
Evaluates the Gegenbauer polynomial of the specified degree.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The value of the Gegenbauer polynomial with parameter lambda of degree degree evaluated at x.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static double GegenbauerC(
int degree,
double lambda,
double x
)
Parameters
- degree Int32
- The degree of the Gegenbauer polynomial.
- lambda Double
- The parameter of the Gegenbauer polynomial.
- x Double
- A real number.
Return Value
DoubleThe value of the Gegenbauer polynomial with parameter lambda of degree degree evaluated at x.
Exceptions
Argument | degree is less than zero. |