OrthogonalPolynomialsChebyshevT Method |
Computes the value of a Cebyshev polynomial.
Namespace:
Meta.Numerics.Functions
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public static double ChebyshevT(
int n,
double x
)
Public Shared Function ChebyshevT (
n As Integer,
x As Double
) As Double
public:
static double ChebyshevT(
int n,
double x
)
static member ChebyshevT :
n : int *
x : float -> float
Parameters
- n
- Type: SystemInt32
The order, which must be non-negative. - x
- Type: SystemDouble
The argument, which must lie in the closed interval between -1 and +1.
Return Value
Type:
DoubleThe value of T
n(x).
Exceptions Remarks Chebyshev polynomials are orthogonal on the interval [-1,1] with the weight (1-x2)-1/2.
See Also