ChebyshevBasis<T>.Item Property

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

Definition

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

Parameters

index  Int32
The index of the function.

Property Value

Func<T, T>
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(T, T, int)].

Note: The first function (the constant term) is equal to 0.5 instead of the value of T.One 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

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

See Also