Special.Gegenbauer CSequence(Int 32, Double, Double) Method
Evaluates a sequence of Gegenbauer polynomials of increasing degree.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A vector that contains length values of the Gegenbauer polynomial with parameter lambda and of increasing orders starting from zero evaluated at x.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Vector<double> GegenbauerCSequence(
int length,
double lambda,
double x
)
Parameters
- 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 zero evaluated at x.
Exceptions
Argument | length is less than zero. |