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

◆ scale_column()

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

Implements MutableMatrix.

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

416 {
417 size_t ncols = n_cols();
418 if (error_column_bound(i, ncols)) return false;
419 const ElementType& b = mat.ring().from_ring_elem_const(r);
421 return true;
422 }
CoeffRing::ElementType ElementType
virtual size_t n_cols() const
bool error_column_bound(size_t c, size_t ncols)

References error_column_bound(), mat, and n_cols().