Matrix<T>.Copy To Or Clone Method
Copies the elements of this vector to another matrix, if it exists;
otherwise clones the matrix using the specified method.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A reference to the destination matrix.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public Matrix<T> CopyToOrClone(
Matrix<T> destination,
CloningMethod method
)
Parameters
- destination Matrix<T>
- A matrix whose elements are to be set.
- method CloningMethod
- A CloningMethod that specifies how the matrix should be cloned if destination is null.
Return Value
Matrix<T>A reference to the destination matrix.
Exceptions
Argument | The length of destination is less than the length of this instance. |