17#ifndef PYOPAL_PySquarePolynomialMap_H
18#define PYOPAL_PySquarePolynomialMap_H
25class SquarePolynomialVector;
46static PyObject *
_alloc(PyTypeObject *
type, Py_ssize_t nitems);
57static int _init(PyObject* self, PyObject *args, PyObject *kwds);
96static PyObject*
evaluate(PyObject *self, PyObject *args,
PyObject * _alloc(PyTypeObject *type, Py_ssize_t nitems)
_alloc allocates memory for PyPolynomialMap
interpolation::SquarePolynomialVector * map
void _dealloc(PyPolynomialMap *self)
deallocate memory
PyMODINIT_FUNC initsquare_polynomial_map(void)
Initialise polynomial_map module.
void _free(PyPolynomialMap *self)
synonym for dealloc
int _init(PyObject *self, PyObject *args, PyObject *kwds)
_init initialises an allocated PyPolynomialMap object
PyObject * get_coefficients_as_matrix(PyObject *self, PyObject *args, PyObject *kwds)
Get the PolynomialMap coefficients.
PyObject * evaluate(PyObject *self, PyObject *args, PyObject *kwds)
Calculate a polynomial vector.
PyPolynomialMap is the python implementation of the C++ PolynomialMap class.
boost::function< boost::tuple< double, bool >(arguments_t)> type
SquarePolynomialVector, an arbitrary order polynomial vector class.