Sets the Y values at the specified indexes.

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Sub SetYValues ( _
	indexes As Integer(), _
	newValues As Double() _
)
C#
public void SetYValues (
	int[] indexes,
	double[] newValues
)
C++
public:
void SetYValues (
	array<int>^ indexes, 
	array<double>^ newValues
)

Parameters

indexes ()
An integer array of zero-based indexes.
newValues ()
A Double array.

Remarks

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

Exceptions

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

See Also