ChebyshevBasis.Item Property

Gets an element of the collection as a function of one variable.

Definition

Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public override Func<double, double> this[
	int index
] { get; }

Parameters

index  Int32
The index of the function.

Property Value

Func<Double, Double>
A delegate that represents a function of one variable.

Remarks

The function of one variable that is returned represents the Chebyshev polynomial of degree index over the interval specified in the ChebyshevBasis(Double, Double, Int32).

Note: The first function (the constant term) is equal to 0.5 instead of the value of 1 of the Chebyshev polynomial of degree 0. The reason is that Chebyshev series are commonly expressed with the constant term multiplied by 0.5. The ChebyshevSeries class follows this convention.

Exceptions

ArgumentOutOfRangeException

index is less than zero or greater than or equal to the number of functions in this ChebyshevBasis.

See Also