Special.ChebyshevT Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

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