PiecewiseCurve.SetYValues Method

Sets the Y values at the specified indexes.

Definition

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public void SetYValues(
	int[] indexes,
	double[] newValues
)

Parameters

indexes  Int32[]
An integer array of zero-based indexes.
newValues  Double[]
A Double array.

Remarks

This method allows you to set the Y-values of multiple data points at the same time.

Exceptions

ArgumentOutOfRangeExceptionOne or more of the indexes is less than zero or greater than NumberOfIntervals.
ArgumentNullExceptionindexes is null
-or-
newValues is null.
DimensionMismatchExceptionThe length of indexes does not equal the length of newValues.

See Also