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

Function export_ideal

Singular/dyn_modules/python/ideal_wrap.cc:55–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54
55void export_ideal()
56{
57 boost::python::class_<Ideal>("Ideal", "supports most operation a\
58 python list supports with the expception, that elements must\
59 be Polynomials")
60 .def(init<>())
61 .def(init<const Ideal&>())
62 .def("__str__", Ideal_as_str)
63 .def("ring",Ideal_get_Ring)
64 .def(boost::python::init <>())
65 .def(vector_indexing_suite<Ideal >());
66
67}
68void export_module()
69{
70 boost::python::class_<Module>("Module", "supports most operation a\

Callers 1

BOOST_PYTHON_MODULEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected