Matrix<T>.Copy To Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.1.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.1.0
Overload List
| Copy | Copies the elements of this matrix to another matrix. |
| Copy | Copies the elements of this matrix to another matrix. |
| Copy | Copies the elements of this matrix to another matrix. |
CopyTo(Matrix<T>)
Copies the elements of this matrix
to another matrix.
public Matrix<T> CopyTo(
Matrix<T>? destination
)Parameters
Return Value
Matrix<T>A reference to destination.
Exceptions
| Dimension | 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. |
CopyTo(Array2D<T>, TransposeOperation)
Copies the elements of this matrix
to another matrix.
public virtual Array2D<T> CopyTo(
Array2D<T> destination,
TransposeOperation operation
)Parameters
- destination Array2D<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
Array2D<T>A reference to destination.
Exceptions
| Argument | destination is null. |
| Dimension | 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. |
CopyTo(Matrix<T>, TransposeOperation)
Copies the elements of this matrix
to another matrix.
public virtual 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
| Argument | destination is null. |
| Dimension | 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. |