Matrix<T>.CopyTo(Matrix<T>) Method

Copies the elements of this matrix to another matrix.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public Matrix<T> CopyTo(
	Matrix<T> destination
)

Parameters

destination  Matrix<T>
The matrix that is the destination of the elements copied from the matrix.

Return Value

Matrix<T>
A reference to destination.

Exceptions

DimensionMismatchExceptionThe number of rows of destination is less than the number of rows of this instance.

-or-

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

See Also