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

Function Poly_as_str

Singular/dyn_modules/python/poly_wrap.cc:10–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9using boost::python::self;
10boost::python::str Poly_as_str(const Poly& p)
11{
12 using boost::python::str;
13 //ring r=p.getRing();
14
15 char* out=p.c_string();
16 return boost::python::str(out,strlen(out));
17}
18boost::python::str Vector_as_str(const Vector& p)
19{
20 using boost::python::str;

Callers 1

Ideal_as_strFunction · 0.85

Calls 2

strFunction · 0.85
c_stringMethod · 0.45

Tested by

no test coverage detected