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

◆ set_column_degree()

void MatrixConstructor::set_column_degree ( int i,
const_monomial deg )

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

70{
71 if (cols_frozen)
72 {
73 INTERNAL_ERROR("trying to append to an immutable free module.");
74 }
75 FreeModule *mutable_cols = const_cast<FreeModule *>(cols);
76 mutable_cols->change_degree(i, deg0);
77}
void change_degree(int i, const_monomial deg)
Definition freemod.cpp:145
const FreeModule * cols
void INTERNAL_ERROR(const char *s,...)
Definition error.c:36

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

Referenced by IM2_Matrix_concat().