Piecewise Curve.Set YValues Method
Sets the Y values at the specified indexes.
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public void SetYValues(
int[] indexes,
double[] newValues
)
Parameters
Remarks
This method allows you to set the Y-values of multiple data points at the same time.
Exceptions
Argument | One or more of the indexes is less than zero or greater than NumberOfIntervals. |
Argument | indexes is null |
Dimension | The length of indexes does not equal the length of newValues. |