MatrixMathToROMatrixFromColumnMajorLinearArrayT Method |
Wraps a linear array (column major order) into a read-only matrix.
The array is packed in column major order, i.e. the first elements belong to the first column of the matrix.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static IROMatrix<T> ToROMatrixFromColumnMajorLinearArray<T>(
T[] arrayInColumMajorOrder,
int rows
)
where T : struct, new()
Parameters
- arrayInColumMajorOrder T
- Linear array in column major order. The length has to be a multiple of nRows.
- rows Int32
- Number of rows of the resulting matrix.
Type Parameters
- T
- The element type of the matrix.
Return Value
IROMatrixTThe read-only matrix wrappage of the linear array.
See Also