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

◆ append() [2/2]

void MatrixConstructor::append ( vec v,
const_monomial deg )

Definition at line 43 of file matrix-con.cpp.

44{
45 if (cols_frozen)
46 {
47 INTERNAL_ERROR("trying to append to an immutable free module.");
48 }
49 entries.push_back(v);
50 FreeModule *mutable_cols = const_cast<FreeModule *>(cols);
51 mutable_cols->append(deg0);
52}
void append(const_monomial d)
Definition freemod.cpp:130
const FreeModule * cols
void INTERNAL_ERROR(const char *s,...)
Definition error.c:36

References FreeModule::append(), cols, cols_frozen, and INTERNAL_ERROR().