Click or drag to resize

MatrixMathToROMatrixWithOneColumnT Method

Wraps a read-only vector, so that it becomes a matrix with one column, and as many rows as the vector.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IROMatrix<T> ToROMatrixWithOneColumn<T>(
	IReadOnlyList<T> vector
)
where T : struct, new()

Parameters

vector  IReadOnlyListT
The vector to wrap.

Type Parameters

T
Type of elements

Return Value

IROMatrixT
A wrapper that appears as a matrix with one column, and as many rows as the wrapped vector.
Remarks
Only a wrapper is returned, thus if the data of the vector change, the changes are reflected in the returned matrix.
See Also