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

Function hComp

kernel/combinatorics/hutil.cc:154–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152
153
154void hComp(scfmon exist, int Nexist, int ak, scfmon stc, int *Nstc)
155{
156 int k = 0;
157 scfmon ex = exist, co = stc;
158 int i;
159
160 for (i = Nexist; i>0; i--)
161 {
162 if (((**ex) == 0) || ((**ex) == ak))
163 {
164 *co = *ex;
165 co++;
166 k++;
167 }
168 ex++;
169 }
170 *Nstc = k;
171}
172
173
174void hSupp(scfmon stc, int Nstc, varset var, int *Nvar)

Callers 7

hSeriesFunction · 0.85
scDimIntFunction · 0.85
scIndIntvecFunction · 0.85
hDegreeFunction · 0.85
scMult0IntFunction · 0.85
scComputeHCFunction · 0.85
scKBaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected