Piecewise Curve.Get YValue Method
Returns the Y value of the data point with the specified index.
Definition
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The Y value at the specified index.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public double GetYValue(
int index
)
Parameters
- index Int32
- A zero-based index.
Return Value
DoubleThe Y value at the specified index.
Remarks
This method returns the Y-value of the data point with index index. If index is less than NumberOfIntervals, the data point returned corresponds to the lower bound of the indexth interval. If index equals NumberOfIntervals, the data point corresponds to the upper bound of the last interval.
Exceptions
Argument | index is less than zero or greater than NumberOfIntervals. |
See Also
Reference
GetYValue(Int32)