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

Method writePoly

Singular/dyn_modules/python/interpreter_support.cc:238–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236 Print("type:%d\n",id->typ);
237 }
238 void writePoly(const Poly& p)
239 {
240 if (id->typ==POLY_CMD)
241 {
242 p_Delete(&id->data.p, currRing);
243 id->data.p=p.as_poly();
244 }
245 }
246 void writeIdeal(const Ideal& p)
247 {
248 if (id->typ==IDEAL_CMD)

Callers

nothing calls this directly

Calls 2

p_DeleteFunction · 0.85
as_polyMethod · 0.45

Tested by

no test coverage detected