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.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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
IROMatrixTA 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