Evaluates a series of Chebyshev polynomials of the first kind up to the specified degree.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static double ChebyshevTSeries(
Vector<double> coefficients,
double x,
int maxDegree
)
Public Shared Function ChebyshevTSeries (
coefficients As Vector(Of Double),
x As Double,
maxDegree As Integer
) As Double
public:
static double ChebyshevTSeries(
Vector<double>^ coefficients,
double x,
int maxDegree
)
static member ChebyshevTSeries :
coefficients : Vector<float> *
x : float *
maxDegree : int -> float
Parameters
- coefficients
- Type: Extreme.MathematicsVectorDouble
A vector containing the coefficients. - x
- Type: SystemDouble
The value for which to evaluate the series. - maxDegree
- Type: SystemInt32
The degree of the highest order Chebyshev polynomial to include in the series.
Return Value
Type:
DoubleThe sum of the Chebyshev polynomials up to degree
maxDegree evaluated at
x
and multiplied by the corresponding element of
coefficients.
If maxDegree is less than zero, then zero is returned.
Reference