Click or drag to resize

MatrixMathToMatrixFromColumnMajorLinearArrayT Method

Wraps a linear array into a read-write matrix. The array is packed column-wise, 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 IMatrix<T> ToMatrixFromColumnMajorLinearArray<T>(
	T[] x,
	int nRows
)
where T : struct, new()

Parameters

x  T
Linear array. The length has to be a multiple of nRows.
nRows  Int32
Number of rows of the resulting matrix.

Type Parameters

T

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

Return Value

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