Special.ChebyshevT Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

ChebyshevT(Int32) Returns a function that evaluates the Chebyshev polynomial of the first kind of the specified degree.
ChebyshevT(Int32, Double) Evaluates the Chebyshev polynomial of the first kind of the specified degree.

ChebyshevT(Int32)

Returns a function that evaluates the Chebyshev polynomial of the first kind of the specified degree.
C#
public static Func<double, double> ChebyshevT(
	int degree
)

Parameters

degree  Int32
The degree of the Chebyshev polynomial.

Return Value

Func<Double, Double>
The Chebyshev polynomial of the first kind of degree degree.

Exceptions

ArgumentOutOfRangeException

degree is less than zero.

ChebyshevT(Int32, Double)

Evaluates the Chebyshev polynomial of the first kind of the specified degree.
C#
public static double ChebyshevT(
	int degree,
	double x
)

Parameters

degree  Int32
The degree of the Chebyshev polynomial.
x  Double
A real number.

Return Value

Double
The value of the Chebyshev polynomial of the first kind of degree degree evaluated at x.

Exceptions

ArgumentOutOfRangeException

degree is less than zero.

See Also