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

◆ interchange_rows()

template<typename Mat>
virtual bool MutableMat< Mat >::interchange_rows ( size_t i,
size_t j )
inlinevirtual

Implements MutableMatrix.

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

387 {
388 size_t nrows = n_rows();
389 if (error_row_bound(i, nrows) || error_row_bound(j, nrows)) return false;
391 return true;
392 }
virtual size_t n_rows() const
bool error_row_bound(size_t r, size_t nrows)

References error_row_bound(), mat, and n_rows().