Special.Gegenbauer CSequence(Int 32, Double, Double, Vector<Double>) Method
Evaluates a sequence of Gegenbauer polynomials of increasing degree starting at the specified degree
and returns the result in the specified vector.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The vector result, which 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,
Vector<double> result
)
Parameters
- length Int32
- The length of the sequence.
- lambda Double
- The parameter of the Gegenbauer polynomials.
- x Double
- A real number.
- result Vector<Double>
- The vector that is to hold the result. May be null.
Return Value
Vector<Double>The vector result, which 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. |