Mat.getRow

Gets a specified row as a vector.

struct Mat(T, size_t rowCount, size_t colCount)
Vec!(T, colCount)
getRow
(
size_t row
)
if (
isNumeric!T &&
rowCount > 0
&&
colCount > 0
)

Parameters

row size_t

The row number, starting from 0.

Return Value

Type: Vec!(T, colCount)

The row.

Meta