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 Array2D<T> CopyTo(
Array2D<T> destination,
TransposeOperation operation
)
Public Overridable Function CopyTo (
destination As Array2D(Of T),
operation As TransposeOperation
) As Array2D(Of T)
public:
virtual Array2D<T> CopyTo(
Array2D<T> destination,
TransposeOperation operation
)
abstract CopyTo :
destination : Array2D<'T> *
operation : TransposeOperation -> Array2D<'T>
override CopyTo :
destination : Array2D<'T> *
operation : TransposeOperation -> Array2D<'T>
Parameters
- destination
- Type: Extreme.CollectionsArray2DT
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:
Array2DTA 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