Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.LinearAlgebra Namespace > Vector Class > Methods > Vector.CopyTo Method


Extreme Optimization Mathematics Library for .NET

Vector.CopyTo Method (Double[])

Copies the components of this Vector to another vector.

[Visual Basic]
Overridable Overloads Public Sub CopyTo( _
   ByVal array As Double() _
)
[C#]
public virtual void CopyTo(
   double[] array
);

Parameters

array
A Double array that is to hold the components of this Vector.

Exceptions

Exception TypeCondition
ArgumentNullExceptionvector is a null reference (Nothing in Visual Basic)
ArgumentException The length of array is less than the length of this instance.

See Also

Vector Class | Extreme.Mathematics.LinearAlgebra Namespace | Vector.CopyTo Overload List