Function uw12::linalg::rows

Function Documentation

inline Mat uw12::linalg::rows(const Mat &mat, const size_t row_idx, const size_t n_row)

Get sub-matrix of multiple rows of input matrix

Parameters
  • mat – Input matrix

  • row_idx – Index of first row

  • n_row – Number of rows in sub-matrix

Returns

sub-matrix of the n_row rows of mat