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

Function Vector_as_str

Singular/dyn_modules/python/poly_wrap.cc:18–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 return boost::python::str(out,strlen(out));
17}
18boost::python::str Vector_as_str(const Vector& p)
19{
20 using boost::python::str;
21 //ring r=p.getRing();
22
23 char* out=p.c_string();
24 return boost::python::str(out,strlen(out));
25}
26static Ring Poly_get_Ring(const Poly & p){
27 return p.getRing();
28}

Callers 1

Module_as_strFunction · 0.70

Calls 2

strFunction · 0.85
c_stringMethod · 0.45

Tested by

no test coverage detected