Copies the observations to the specified array.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub CopyTo ( _ array As Observation(), _ arrayIndex As Integer _ ) |
| C# |
|---|
public void CopyTo ( Observation[] array, int arrayIndex ) |
| C++ |
|---|
public: virtual void CopyTo ( array<Observation>^ array, int arrayIndex ) sealed |
Parameters
- array ()
- An Observation array.
- arrayIndex (System.Int32)
- An integer that represents the index in destination at which copying begins.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | array is nullNothingnullptr. |
| ArgumentOutOfRangeException | startIndex is less than zero. |
| ArgumentException | Length is greater than the number of elements from startIndex to the end of array. |