Copies the components of this Vector to another vector.

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

Syntax

Visual Basic (Declaration)
Public Function CopyTo ( _
	vector As Vector _
) As Vector
C#
public Vector CopyTo (
	Vector vector
)
C++
public:
Vector^ CopyTo (
	Vector^ vector
)

Parameters

vector (Extreme.Mathematics.LinearAlgebra.Vector)
The Vector whose components are to be set.

Return Value

A reference to the destination vector.

Exceptions

ExceptionCondition
ArgumentNullExceptionvector is nullNothingnullptr
ArgumentException The length of vector is less than the length of this instance.