Special.Chebyshev USeries(Vector<Double>, Double, Int 32) Method
Evaluates a series of Chebyshev polynomials of the second kind up to the specified degree.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The sum of the Chebyshev polynomials of the second kind up to degree maxDegree evaluated at x and multiplied by the corresponding element of coefficients.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static double ChebyshevUSeries(
Vector<double> coefficients,
double x,
int maxDegree
)
Parameters
- coefficients Vector<Double>
- A vector containing the coefficients.
- x Double
- The value for which to evaluate the series.
- maxDegree Int32
- The degree of the highest order Chebyshev polynomial to include in the series.
Return Value
DoubleThe sum of the Chebyshev polynomials of the second kind up to degree maxDegree evaluated at x and multiplied by the corresponding element of coefficients.
Remarks
If maxDegree is less than zero, then zero is returned.
Exceptions
Argument | coefficients is null. |