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

◆ get_gb()

const Matrix * HermiteComputation::get_gb ( )
virtual

Implements GBComputation.

Definition at line 317 of file hermite.cpp.

318{
319 MatrixConstructor mat(gens->rows(), 0);
320 for (hm_elem *p = GB_list; p != nullptr; p = p->next)
321 mat.append(globalZZ->copy_vec(p->f));
322 return mat.to_matrix();
323}
const Matrix * gens
Definition hermite.hpp:61
hm_elem * GB_list
Definition hermite.hpp:63
vec copy_vec(const vecterm *v) const
Definition ring-vecs.cpp:91
RingZZ * globalZZ
Definition relem.cpp:13
int p

References MatrixConstructor::append(), GB_list, gens, globalZZ, Matrix, p, and MatrixConstructor::to_matrix().

Referenced by get_mingens().