Definition at line 244 of file freemod.cpp.
246{
247 int i;
248 if (
R !=
G->get_ring())
249 {
250 ERROR(
"expected free modules over the same ring");
251 return nullptr;
252 }
255 for (i = 0; i <
G->rank(); i++)
result->append(
G->degree(i));
256
257
258
259
261}
virtual FreeModule * new_free() const
const_monomial degree(int i) const
FreeModule(const Ring *R, int n, bool has_schreyer_order)
VALGRIND_MAKE_MEM_DEFINED & result(result)
References degree(), ERROR, FreeModule(), G, new_free(), R, rank(), and result().
Referenced by IM2_FreeModule_sum().