Copies the elements of this matrix
to another matrix.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public virtual Matrix<T> CopyTo(
Matrix<T> destination,
TransposeOperation operation
)
Public Overridable Function CopyTo (
destination As Matrix(Of T),
operation As TransposeOperation
) As Matrix(Of T)
public:
virtual Matrix<T>^ CopyTo(
Matrix<T>^ destination,
TransposeOperation operation
)
abstract CopyTo :
destination : Matrix<'T> *
operation : TransposeOperation -> Matrix<'T>
override CopyTo :
destination : Matrix<'T> *
operation : TransposeOperation -> Matrix<'T>
Parameters
- destination
- Type: Extreme.MathematicsMatrixT
The matrix that is the destination
of the elements copied from the matrix. - operation
- Type: Extreme.MathematicsTransposeOperation
Indicates if the matrix should be transposed while copying.
Return Value
Type:
MatrixTA reference to
destination.
Exception | Condition |
---|
ArgumentNullException | destination is .
|
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. |
Reference