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

Function CF_as_str

Singular/dyn_modules/python/CF_wrap.cc:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7using boost::python::self;
8#ifndef NOSTREAMIO
9static boost::python::object CF_as_str(const CanonicalForm& f)
10{
11 using boost::python::str;
12 std::basic_stringstream<char> s;
13 s<<f;
14 return boost::python::str(s.str());
15}
16#endif
17void export_CF(){
18 boost::python::class_<CanonicalForm>("canonical_form")

Callers

nothing calls this directly

Calls 2

strFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected