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

ExceptionCondition
ArgumentNullExceptionarray is nullNothingnullptr.
ArgumentOutOfRangeExceptionstartIndex is less than zero.
ArgumentExceptionLength is greater than the number of elements from startIndex to the end of array.