My Project
Loading...
Searching...
No Matches
Data Structures | Functions
ring_wrap.h File Reference
#include "polys/monomials/ring.h"
#include "Singular/grammar.h"
#include "Singular/subexpr.h"
#include "Singular/ipid.h"
#include <boost/intrusive_ptr.hpp>
#include "Number.h"

Go to the source code of this file.

Data Structures

class  Ring
 

Functions

void export_ring ()
 

Function Documentation

◆ export_ring()

void export_ring ( )

Definition at line 32 of file ring_wrap.cc.

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}
void ring_set(Ring &R)
Definition: ring_wrap.cc:15
static boost::python::object Ring_as_str(const Ring &r)
Definition: ring_wrap.cc:7