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

Function iiCopyRes

Singular/ipshell.cc:935–943  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

933//}
934
935static resolvente iiCopyRes(resolvente r, int l)
936{
937 int i;
938 resolvente res=(ideal *)omAlloc0((l+1)*sizeof(ideal));
939
940 for (i=0; i<l; i++)
941 if (r[i]!=NULL) res[i]=idCopy(r[i]);
942 return res;
943}
944
945BOOLEAN jjMINRES(leftv res, leftv v)
946{

Callers 1

jjMINRESFunction · 0.85

Calls 2

omAlloc0Function · 0.85
idCopyFunction · 0.85

Tested by

no test coverage detected