Macaulay2 Engine
Loading...
Searching...
No Matches

◆ error_row_bound()

bool error_row_bound ( size_t r,
size_t nrows )
inline

Definition at line 225 of file mutablemat-defs.hpp.

226{
227 if (r >= nrows)
228 {
229 ERROR("row out of range");
230 return true;
231 }
232 return false;
233}
const int ERROR
Definition m2-mem.cpp:55

References ERROR.

Referenced by MutableMat< Mat >::delete_rows(), MutableMat< Mat >::divide_row(), MutableMat< Mat >::interchange_rows(), MutableMat< Mat >::row2by2(), MutableMat< Mat >::row_op(), MutableMat< Mat >::scale_row(), and MutableMat< Mat >::set_entry().