Copies the components of this Matrix
to another matrix.
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Overrides Function CopyTo ( _ matrix As Matrix _ ) As Matrix |
| C# |
|---|
public override Matrix CopyTo ( Matrix matrix ) |
| C++ |
|---|
public: virtual Matrix^ CopyTo ( Matrix^ matrix ) override |
Parameters
- matrix (Extreme.Mathematics.LinearAlgebra.Matrix)
- The Matrix whose components are to be set.
Return Value
A reference to the destination matrix.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | matrix is nullNothingnullptr. |
| DimensionMismatchException | The
number of rows of matrix is less than
the number of rows of this instance.
-or- The number of columns of matrix1 is less than the number of columns of this instance. |