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

◆ gb_emitter()

gb_emitter::gb_emitter ( const Matrix * m)

Definition at line 10 of file res-a2.cpp.

11 : gens(m), g(nullptr), n_left(m->n_cols()), n_i(0)
12{
14 assert(originalR != 0);
15 GR = originalR->get_gb_ring();
17 n_gens = 0; // Also needs to be set at that time.
19}
int lowest_primary_degree() const
Definition freemod.cpp:447
const Ring * get_ring() const
Definition matrix.hpp:134
int n_cols() const
Definition matrix.hpp:147
const FreeModule * cols() const
Definition matrix.hpp:145
virtual const PolynomialRing * cast_to_PolynomialRing() const
Definition ring.hpp:243
int n_gens
Definition res-a2.hpp:73
int n_left
Definition res-a2.hpp:71
GBRing * GR
Definition res-a2.hpp:67
const Matrix * gens
Definition res-a2.hpp:68
int * these
Definition res-a2.hpp:74
int this_degree
Definition res-a2.hpp:70
gb_node * g
Definition res-a2.hpp:69
const PolynomialRing * originalR
Definition res-a2.hpp:66
#define newarray_atomic_clear(T, len)
Definition newdelete.hpp:93

References Matrix::cols(), g, gens, Matrix::get_ring(), GR, FreeModule::lowest_primary_degree(), Matrix, Matrix::n_cols(), n_gens, n_i, n_left, newarray_atomic_clear, originalR, these, and this_degree.