matrix_int matrix_int::submatrix ( size_t  row_min,
size_t  row_max,
size_t  col_min,
size_t  col_max 
) const

Function that extracts a submatrix from the given matrix.

Parameters:
row_min: start of row for submatrix
row_max: max row number for submatrix (not included!)
col_min: start of column for submatrix
col_max: max column number for submatrix (not included!)

Return a submatrix of the this from row_min to row_max (not included in the submatrix!)

All Classes Files Functions Variables Typedefs Friends Defines