#include "kernel/mod2.h"
#include <boost/python.hpp>
#include "Singular/ipshell.h"
#include "ring_wrap.h"
#include "poly_wrap.h"
Go to the source code of this file.
◆ export_ring()
Definition at line 32 of file ring_wrap.cc.
33{
34boost::python::class_<Ring>("Ring", "reference to a Singular ring")
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}
static boost::python::object Ring_as_str(const Ring &r)
◆ Ring_as_str()
Definition at line 7 of file ring_wrap.cc.
8{
9 using boost::python::str;
14}
intrusive_ptr< ip_sring > pimpl
void StringSetS(const char *st)
void rWrite(ring r, BOOLEAN details)
◆ ring_set()
Definition at line 15 of file ring_wrap.cc.
16{
20 {
27 r->ref++;
28 }
31}
idhdl enterid(const char *s, int lev, int t, idhdl *root, BOOLEAN init, BOOLEAN search)
idhdl rFindHdl(ring r, idhdl n)