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

Function export_ring

Singular/dyn_modules/python/ring_wrap.cc:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 for(int i=myynest;i>=0;i--) iiLocalRing[i]=r;
31}
32void export_ring()
33{
34boost::python::class_<Ring>("Ring", "reference to a Singular ring")
35 .def("__str__", Ring_as_str)
36 .def("set", ring_set,"equivalent to the singular command setring, which is not mapped as it is a command")
37 .def(boost::python::init <>());
38}
39#endif

Callers 1

BOOST_PYTHON_MODULEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected