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

◆ get_mingens()

const Matrix * gbA::get_mingens ( )
virtual

Implements GBComputation.

Definition at line 2720 of file gb-default.cpp.

2721{
2722 if (over_ZZ()) return get_gb();
2723 MatrixConstructor mat(_F, 0);
2724 for (VECTOR(gbelem *)::iterator i = gb.begin(); i != gb.end(); i++)
2725 if ((*i) and ((*i)->minlevel & ELEM_MINGEN))
2726 mat.append(originalR->translate_gbvector_to_vec(_F, (*i)->g.f));
2727 return mat.to_matrix();
2728}
const PolynomialRing * originalR
virtual const Matrix * get_gb()
const FreeModule * _F
bool over_ZZ() const
void gb(IntermediateBasis &F, int n)
const int ELEM_MINGEN
#define VECTOR(T)
Definition newdelete.hpp:78

References _F, MatrixConstructor::append(), ELEM_MINGEN, gb(), get_gb(), Matrix, originalR, over_ZZ(), MatrixConstructor::to_matrix(), and VECTOR.