Function Basis.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#
A delegate that represents a function of one variable.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public virtual 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
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
Argument | index is less than zero or greater than or equal to the number of functions in this FunctionBasis. |