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

◆ delete_columns()

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

Implements MutableMatrix.

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

558 {
559 size_t ncols = n_cols();
561 {
562 ERROR("column index out of range");
563 return false;
564 }
565
567 return true;
568 }
virtual size_t n_cols() const
const int ERROR
Definition m2-mem.cpp:55
bool error_column_bound(size_t c, size_t ncols)

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