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
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | One or more of the indexes is less than zero or greater than NumberOfIntervals. |
| ArgumentNullException | indexes is nullNothingnullptr -or-newValues is nullNothingnullptr. |
| DimensionMismatchException | The length of indexes does not equal the length of newValues. |