Definition at line 211 of file freemod.cpp.
212{
214 for (unsigned int i = 0; i < a->len; i++)
215 if (a->array[i] >= 0 && a->array[i] <
rank())
217 else
218 {
219 ERROR(
"subfreemodule: index out of bounds");
221 return nullptr;
222 }
225}
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, freemem(), FreeModule(), new_free(), rank(), result(), and schreyer.