Piecewise Curve.Set XValue Method
Sets the X 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#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public void SetXValue(
int index,
double newValue
)
Parameters
Remarks
This method lets you set the X-value of the data point with index index. The new X-value must be such that the X values remain in ascending order. Otherwise, an ArgumentException is thrown.
Exceptions
Argument | index is less than zero or greater than NumberOfIntervals. |
Argument | Setting the value to would cause the X values to no longer be in ascending order. |