3#include <boost/python.hpp>
5#include "boost/python/numeric.hpp"
6using boost::python::numeric::array;
7using boost::python::self;
8using boost::python::make_tuple;
9using boost::python::tuple;
10using boost::python::object;
11using boost::python::list;
27 boost::python::numeric::array::set_module_and_type(
"Numeric",
30 boost::python::numeric::array a(
l);
35 using boost::python::extract;
36 object o=
f.attr(
"shape");
41 int l1=extract<int>(o1);
44 int l2=extract<int>(o2);
46 Poly&
x = boost::python::extract<Poly&>(
f[boost::python::make_tuple(0,0)]);
49 return boost::python::str(
"suc");
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...