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

◆ scale_row()

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

Implements MutableMatrix.

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

406 {
407 size_t nrows = n_rows();
408 if (error_row_bound(i, nrows)) return false;
409 const ElementType& b = mat.ring().from_ring_elem_const(r);
411 return true;
412 }
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().