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

◆ get_parallel_lead_terms()

const Matrix * GB_comp::get_parallel_lead_terms ( M2_arrayint w)
virtual

Reimplemented from GBComputation.

Definition at line 1057 of file gb-homog2.cpp.

1058{
1060 MatrixConstructor mat(_F, 0);
1061 for (int i = 0; i < _gb.size(); i++)
1062 {
1063 gbvector *f =
1064 _GR->gbvector_parallel_lead_terms(w, _F, _gb[i]->f, _gb[i]->f);
1065 mat.append(originalR->translate_gbvector_to_vec(_F, f));
1066 }
1067 return mat.to_matrix();
1068}
void start_computation()
const FreeModule * _F
Definition gb-homog2.hpp:73
GBRing * _GR
Definition gb-homog2.hpp:68
const PolynomialRing * originalR
Definition gb-homog2.hpp:67

References _F, _GR, MatrixConstructor::append(), Matrix, originalR, start_computation(), and MatrixConstructor::to_matrix().