Special.Chebyshev TSeries With Derivative Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
Overload List
Chebyshev | Evaluates a series of Chebyshev polynomials of the first kind and its first derivative. |
Chebyshev | Evaluates a series of Chebyshev polynomials of the first kind up to the specified degree and its first derivative. |
ChebyshevTSeriesWithDerivative(Vector<Double>, Double)
Evaluates a series of Chebyshev polynomials of the first kind and its first derivative.
public static (double value, double derivative) ChebyshevTSeriesWithDerivative(
Vector<double> coefficients,
double x
)
Parameters
- coefficients Vector<Double>
- A vector containing the coefficients.
- x Double
- The value for which to evaluate the series.
Return Value
ValueTuple<Double, Double>A tuple containing the value and first derivative of the sum of the Chebyshev polynomials at x multiplied by the corresponding element of coefficients.
Exceptions
Argument | coefficients is null. |
ChebyshevTSeriesWithDerivative(Vector<Double>, Double, Int32)
Evaluates a series of Chebyshev polynomials of the first kind up to the specified degree and its first derivative.
public static (double value, double derivative) ChebyshevTSeriesWithDerivative(
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 polynomial to include in the series.
Return Value
ValueTuple<Double, Double>A tuple containing the value and first derivative of the sum of the Chebyshev polynomials up to degree maxDegree evaluated at x and multiplied by the corresponding element of coefficients.
Remarks
If maxDegree is less than zero, then (0, 0) is returned.
Exceptions
Argument | coefficients is null. |