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

◆ handle_gen()

void res_comp::handle_gen ( res_pair * p)
private

Definition at line 1053 of file res-a1.cpp.

1054{
1055 reduce_gen(p->syz);
1056 if (p->syz != nullptr)
1057 {
1058 R->make_monic(p->syz);
1059 M->copy(p->syz->monom, p->base_monom);
1060 p->first = p->syz->comp;
1061 p->second = nullptr;
1062 p->syz_type = SYZ_MINIMAL;
1063 p->base_comp = p->syz->comp->base_comp; // MES: added 7/11/97
1064 insert_res_pair(1, p);
1065 p->minimal_me = resn[1]->nminimal++;
1066 nminimal++;
1067 if (M2_gbTrace >= 2) emit_wrapped("z");
1068 }
1069 else
1070 {
1072 if (M2_gbTrace >= 2) emit_wrapped("o");
1073 }
1074}
const Monoid * M
Definition res-a1.hpp:80
void reduce_gen(resterm *&f) const
Definition res-a1.cpp:844
res_poly * R
Definition res-a1.hpp:79
int nminimal
Definition res-a1.hpp:111
void remove_res_pair(res_pair *p)
Definition res-a1.cpp:137
void insert_res_pair(int level, res_pair *p)
Definition res-a1.cpp:288
int p
int M2_gbTrace
Definition m2-types.cpp:52
@ SYZ_MINIMAL
void emit_wrapped(const char *s)
Definition text-io.cpp:27

References emit_wrapped(), insert_res_pair(), M, M2_gbTrace, nminimal, p, R, reduce_gen(), remove_res_pair(), and SYZ_MINIMAL.

Referenced by gens().