FunctionBasis<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.1
C#
public virtual 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

If at all possible, the index parameter should correspond to the natural indexer for a class of functions. For example, in the PolynomialBasis class, the index parameter corresponds to the degree of the polynomial.

Exceptions

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

See Also