Click or drag to resize

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.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public 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

[Missing <typeparam name="T"/> documentation for "M:Altaxo.Calc.LinearAlgebra.MatrixMath.ToROMatrixFromColumnMajorLinearArray``1(``0[],System.Int32)"]

Return Value

IROMatrixT
The read-only matrix wrappage of the linear array.
See Also