Special.Gegenbauer CWith Derivative Method
Evaluates the Gegenbauer polynomial of the specified degree and its first derivative.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
C#
A tuple containing the value and first derivative of the Gegenbauer polynomial with parameter alpha of degree degree evaluated at x.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
public static (double value, double derivative) GegenbauerCWithDerivative(
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
ValueTuple<Double, Double>A tuple containing the value and first derivative of the Gegenbauer polynomial with parameter alpha of degree degree evaluated at x.
Exceptions
Argument | degree is less than zero. |