VandermondeMatrix<T>.CopyTo Method

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2

Overload List

CopyTo(Matrix<T>) Copies the elements of this matrix to another matrix.
CopyTo(Array2D<T>, TransposeOperation) Copies the elements of this matrix to another matrix.
CopyTo(Matrix<T>, TransposeOperation) Copies the elements of this matrix to another matrix.

CopyTo(Matrix<T>, TransposeOperation)

Copies the elements of this matrix to another matrix.
C#
public override Matrix<T> CopyTo(
	Matrix<T>? destination,
	TransposeOperation operation
)

Parameters

destination  Matrix<T>
The matrix that is the destination of the elements copied from the matrix.
operation  TransposeOperation
Indicates if the matrix should be transposed while copying.

Return Value

Matrix<T>
A reference to destination.

Exceptions

ArgumentNullException

destination is null.

DimensionMismatchException

The 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