Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.Curves Namespace > FunctionBasis Class > Properties


Extreme Optimization Mathematics Library for .NET

FunctionBasis.Item Property

Gets an element of the collection as a RealFunction.

[Visual Basic]
Overridable Public Default ReadOnly Property Item( _
   ByVal index As Integer _
) As RealFunction
[C#]
public virtual Extreme.Mathematics.RealFunction this[
   int index
] {get;}

Parameters

index
The index of the function.

Property Value

A RealFunction.

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

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

See Also

FunctionBasis Class | Extreme.Mathematics.Curves Namespace