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

◆ divide_row()

template<typename Mat>
virtual bool MutableMat< Mat >::divide_row ( size_t i,
ring_elem r )
inlinevirtual

Implements MutableMatrix.

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

426 {
427 size_t nrows = n_rows();
428 if (error_row_bound(i, nrows)) return false;
429 const ElementType& b = mat.ring().from_ring_elem_const(r);
431 return true;
432 }
CoeffRing::ElementType ElementType
virtual size_t n_rows() const
bool error_row_bound(size_t r, size_t nrows)

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