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

Function isModule

kernel/combinatorics/hilb.cc:855–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

853
854STATIC_VAR ring hilb_Qt=NULL;
855static BOOLEAN isModule(ideal A, const ring src)
856{
857 if ((src->VarOffset[0]== -1)
858 || (src->pCompIndex<0))
859 return FALSE; // ring without components
860 for (int i=0;i<IDELEMS(A);i++)
861 {
862 if (A->m[i]!=NULL)
863 {
864 if (p_GetComp(A->m[i],src)>0)
865 return TRUE;
866 else
867 return FALSE;
868 }
869 }
870 return FALSE;
871}
872
873void hLookSeries(ideal S, intvec *modulweight, ideal Q, intvec *wdegree)
874{

Callers 5

hLookSeriesFunction · 0.85
hFirstSeriesFunction · 0.85
hFirstSeries0bFunction · 0.85
hSecondSeries0bFunction · 0.85
scDegreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected