MCPcopy Create free account
hub / github.com/Singular/Singular / pmaximal

Function pmaximal

Singular/dyn_modules/Order/nforder.cpp:632–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

630
631#ifdef HAVE_RINGS
632nforder *pmaximal(nforder *o, number p) {
633 coeffs c = o->basecoeffs();
634 nforder *no = o;
635 nforder *otemp;
636 // TODO: check if p^2 still divides disc (maybe in onestep)
637 // simplify the tower
638 do {
639 otemp = no;
640 no = onestep(otemp, p, c);
641 if (no==otemp)
642 break;
643 nforder_delete (otemp);
644 otemp = no->simplify();
645 nforder_delete (no);
646 no = otemp;
647 } while (1);
648 return no;
649}
650#endif
651
652/*

Callers 1

pMaximalOrderFunction · 0.85

Calls 4

onestepFunction · 0.85
nforder_deleteFunction · 0.85
basecoeffsMethod · 0.45
simplifyMethod · 0.45

Tested by

no test coverage detected