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

Function hCreate

kernel/combinatorics/hutil.cc:996–1007  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

994
995
996monf hCreate(int Nvar)
997{
998 monf xmem;
999 int i;
1000 xmem = (monf)omAlloc((Nvar + 1) * sizeof(monp));
1001 for (i = Nvar; i>0; i--)
1002 {
1003 xmem[i] = (monp)omAlloc(LEN_MON);
1004 xmem[i]->mo = NULL;
1005 }
1006 return xmem;
1007}
1008
1009
1010void hKill(monf xmem, int Nvar)

Callers 8

scIndIndsetFunction · 0.85
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