|
OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
|
Classes | |
| struct | PyCoefficient |
Functions | |
| int | _init (PyObject *self, PyObject *args, PyObject *kwds) |
| PyObject * | _alloc (PyTypeObject *type, Py_ssize_t nitems) |
| PyObject * | _new (PyTypeObject *type, Py_ssize_t nitems) |
| void | _free (PyCoefficient *self) |
| void | _dealloc (PyCoefficient *self) |
Variables | |
| std::string | class_docstring |
| PyObject* PyPolynomialCoefficient::_alloc | ( | PyTypeObject * | type, |
| Py_ssize_t | nitems | ||
| ) |
_alloc allocates memory for PyPolynomialMap
| type | - pointer to aPyPolynomialMapType object, as defined in PyPolynomialMap.cc |
returns a PyPolynomialMap* (cast as a PyObject*); caller owns this memory
Definition at line 85 of file PyPolynomialCoefficient.cpp.
References PyPolynomialCoefficient::PyCoefficient::coeff, and type.
Referenced by _new().
| void PyPolynomialCoefficient::_dealloc | ( | PyCoefficient * | self | ) |
Definition at line 106 of file PyPolynomialCoefficient.cpp.
References _free().

| void PyPolynomialCoefficient::_free | ( | PyCoefficient * | self | ) |
Definition at line 98 of file PyPolynomialCoefficient.cpp.
Referenced by _dealloc().
| int PyPolynomialCoefficient::_init | ( | PyObject * | self, |
| PyObject * | args, | ||
| PyObject * | kwds | ||
| ) |
_init initialises an allocated PyPolynomialMap object
| self | an initialised PyPolynomialMap* cast as a PyObject*; caller owns this memory |
| args | not used |
| kwds | not used |
Definition at line 30 of file PyPolynomialCoefficient.cpp.
References PyPolynomialCoefficient::PyCoefficient::coeff, and exception.
| PyObject* PyPolynomialCoefficient::_new | ( | PyTypeObject * | type, |
| Py_ssize_t | nitems | ||
| ) |
Definition at line 94 of file PyPolynomialCoefficient.cpp.
References _alloc().

| std::string PyPolynomialCoefficient::class_docstring |
Definition at line 118 of file PyPolynomialCoefficient.cpp.
1.8.5