Special.ChebyshevT(Int32, Double) Method

Evaluates the Chebyshev polynomial of the first kind of the specified degree.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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