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

Function p2Delete

Singular/number2.cc:516–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514 return r;
515}
516void p2Delete(poly2 &d)
517{
518 if (d!=NULL)
519 {
520 if (d->cf!=NULL)
521 {
522 p_Delete(&d->n,d->cf);
523 rKill(d->cf);
524 }
525 omFreeSize(d,sizeof(*d));
526 d=NULL;
527 }
528}
529char *p2String(poly2 d, BOOLEAN typed)
530{
531 StringSetS("");

Callers 3

s_internalDeleteFunction · 0.85
jiA_POLY2Function · 0.85
jiA_POLY2_PFunction · 0.85

Calls 2

p_DeleteFunction · 0.85
rKillFunction · 0.85

Tested by

no test coverage detected