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

Function MwalkInitialForm

Singular/walk.cc:762–779  ·  view source on GitHub ↗

* compute the initial form of an ideal w.r.t. a weight vector iva * ************************************************************************/

Source from the content-addressed store, hash-verified

760 * compute the initial form of an ideal <G> w.r.t. a weight vector iva *
761 ************************************************************************/
762ideal MwalkInitialForm(ideal G, intvec* ivw)
763{
764 BOOLEAN nError = Overflow_Error;
765 Overflow_Error = FALSE;
766
767 int i, nG = IDELEMS(G);
768 ideal Gomega = idInit(nG, 1);
769
770 for(i=nG-1; i>=0; i--)
771 {
772 Gomega->m[i] = MpolyInitialForm(G->m[i], ivw);
773 }
774 if(Overflow_Error == FALSE)
775 {
776 Overflow_Error = nError;
777 }
778 return Gomega;
779}
780
781/************************************************************************
782 * test whether the weight vector iv is in the cone of the ideal G *

Callers 15

jjSYSTEMFunction · 0.85
LastGBFunction · 0.85
Rec_LastGBFunction · 0.85
MAltwalk2Function · 0.85
MWalkRandomNextWeightFunction · 0.85
REC_GB_MwalkFunction · 0.85
MwalkAltFunction · 0.85
MwalkFunction · 0.85
MrwalkFunction · 0.85
MpwalkFunction · 0.85
MprwalkFunction · 0.85
rec_fractal_callFunction · 0.85

Calls 2

idInitFunction · 0.85
MpolyInitialFormFunction · 0.85

Tested by

no test coverage detected