Copies the components of this Matrix to another matrix.

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

Syntax

Visual Basic (Declaration)
Public Overridable Function CopyTo ( _
	matrix As Matrix _
) As Matrix
C#
public virtual Matrix CopyTo (
	Matrix matrix
)
C++
public:
virtual Matrix^ CopyTo (
	Matrix^ matrix
)

Parameters

matrix (Extreme.Mathematics.LinearAlgebra.Matrix)
The Matrix whose components are to be set.

Return Value

A reference to the destination matrix.

Exceptions

ExceptionCondition
ArgumentNullExceptionmatrix is nullNothingnullptr.
DimensionMismatchExceptionThe number of rows of matrix is less than the number of rows of this instance.

-or-

The number of columns of matrix1 is less than the number of columns of this instance.