Meta.Numerics Library
ChebyshevT Method (n, x)
Meta.NumericsMeta.Numerics.FunctionsOrthogonalPolynomialsChebyshevT(Int32, Double)
Computes the value of a Cebyshev polynomial.
Declaration Syntax
C#Visual BasicVisual C++F#
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 (Int32)
The order, which must be non-negative.
x (Double)
The argument, which must lie in the closed interval between -1 and +1.
Return Value
The value of Tn(x).
Remarks

Chebyshev polynomials are orthogonal on the interval [-1,1] with the weight (1-x2)1/2.

See Also