Mat.subMatrix

Gets a submatrix of this matrix, with the given rows and columns removed.

struct Mat(T, size_t rowCount, size_t colCount)
const
Mat!(T, rowCount - n, colCount - m)
subMatrix
(
size_t n
size_t m
)
(
size_t[n] rows
,
size_t[m] cols
)
if (
rowCount - n > 0 &&
colCount - m > 0
)
if (
isNumeric!T &&
rowCount > 0
&&
colCount > 0
)

Parameters

rows size_t[n]

The set of rows to remove.

cols size_t[m]

The set of columns to remove.

Return Value

Type: Mat!(T, rowCount - n, colCount - m)

A matrix with the given rows and columns removed.

Meta