Mat.getCol

Gets a specified column as a vector.

struct Mat(T, size_t rowCount, size_t colCount)
const
Vec!(T, rowCount)
getCol
(
size_t col
)
if (
isNumeric!T &&
rowCount > 0
&&
colCount > 0
)

Parameters

col size_t

The column number, starting from 0.

Return Value

Type: Vec!(T, rowCount)

The column.

Meta