Permutation Matrix.Copy To Method
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.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. |
| Copy | Copies the logical matrix elements into a destination span. |
CopyTo(Span<Double>, MatrixElementOrder)
Copies the logical matrix elements into a destination span.
public override void CopyTo(
Span<double> destination,
MatrixElementOrder elementOrder = MatrixElementOrder.ColumnMajor
)Parameters
- destination Span<Double>
- A span with room for at least RowCount * ColumnCount elements. Any remaining elements are unchanged.
- elementOrder MatrixElementOrder (Optional)
- The order in which to copy the elements.
Remarks
This method copies the logical values, including any transpose,
conjugation, or structural interpretation of the matrix. Arguments are
validated before writing to the destination.
Exceptions
| Argument | elementOrder is not a supported order. |
| Argument | destination is too short. |