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

Function getModuleComp

kernel/combinatorics/hilb.cc:2156–2165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2154}
2155
2156static ideal getModuleComp(ideal A, int c, const ring src)
2157{
2158 ideal res=idInit(IDELEMS(A),A->rank);
2159 for (int i=0;i<IDELEMS(A);i++)
2160 {
2161 if ((A->m[i]!=NULL) && (p_GetComp(A->m[i],src)==c))
2162 res->m[i]=p_Head(A->m[i],src);
2163 }
2164 return res;
2165}
2166
2167intvec* hFirstSeries(ideal A,intvec *module_w,ideal Q, intvec *wdegree)
2168{

Callers 1

hFirstSeriesFunction · 0.85

Calls 2

idInitFunction · 0.85
p_HeadFunction · 0.85

Tested by

no test coverage detected