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

◆ column2by2()

template<typename Mat>
virtual bool MutableMat< Mat >::column2by2 ( size_t c1,
size_t c2,
ring_elem a1,
ring_elem a2,
ring_elem b1,
ring_elem b2 )
inlinevirtual

Implements MutableMatrix.

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

476 {
477 size_t ncols = n_cols();
479 return false;
480 if (c1 == c2) return true;
481 const ElementType& aa1 = mat.ring().from_ring_elem_const(a1);
482 const ElementType& aa2 = mat.ring().from_ring_elem_const(a2);
483 const ElementType& bb1 = mat.ring().from_ring_elem_const(b1);
484 const ElementType& bb2 = mat.ring().from_ring_elem_const(b2);
486 return true;
487 }
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().