OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
PySquarePolynomialMap.cpp File Reference
#include <Python.h>
#include <structmember.h>
#include <vector>
#include <string>
#include "Fields/Interpolation/MMatrix.h"
#include "Fields/Interpolation/SquarePolynomialVector.h"
#include "Fields/Interpolation/SolveFactory.h"
#include "Fields/Interpolation/LeastSquaresSolveFactory.h"
#include "PyOpal/Globals.h"
#include "PyOpal/PySquarePolynomialMap.h"
#include "PyOpal/PyPolynomialCoefficient.h"
Include dependency graph for PySquarePolynomialMap.cpp:

Go to the source code of this file.

Namespaces

namespace  PySquarePolynomialMap

Typedefs

typedef struct { 
 PyObject_HEAD
interpolation::PolynomialCoefficientcoeff
PySquarePolynomialMap::PyCoefficient

Functions

PyObject * PySquarePolynomialMap::get_coefficients_as_matrix (PyObject *self, PyObject *args, PyObject *kwds)
PyObject * PySquarePolynomialMap::index_by_power (PyObject *py_class, PyObject *args, PyObject *kwds)
PyObject * PySquarePolynomialMap::evaluate (PyObject *self, PyObject *args, PyObject *kwds)
std::vector< std::vector< double > > PySquarePolynomialMap::get_vectors (PyObject *py_floats)
PyObject * PySquarePolynomialMap::exact_solve (PyObject *py_class, PyObject *args, PyObject *kwds)
PyObject * PySquarePolynomialMap::least_squares (PyObject *py_class, PyObject *args, PyObject *kwds)
int PySquarePolynomialMap::_init (PyObject *self, PyObject *args, PyObject *kwds)
PyObject * PySquarePolynomialMap::_alloc (PyTypeObject *type, Py_ssize_t nitems)
PyObject * PySquarePolynomialMap::_new (PyTypeObject *type, Py_ssize_t nitems)
void PySquarePolynomialMap::_dealloc (PyPolynomialMap *self)
void PySquarePolynomialMap::_free (PyPolynomialMap *self)
PyMODINIT_FUNC PyInit_polynomial_map (void)

Variables

std::string PySquarePolynomialMap::get_coefficients_as_matrix_docstring
std::string PySquarePolynomialMap::index_by_power_docstring
std::string PySquarePolynomialMap::evaluate_docstring
std::string PySquarePolynomialMap::exact_solve_docstring
std::string PySquarePolynomialMap::least_squares_docstring
std::string PySquarePolynomialMap::class_docstring
const char * module_docstring

Function Documentation

◆ PyInit_polynomial_map()

PyMODINIT_FUNC PyInit_polynomial_map ( void )

Definition at line 588 of file PySquarePolynomialMap.cpp.

References PyOpal::Globals::Initialise().

Here is the call graph for this function:

Variable Documentation

◆ module_docstring

const char* module_docstring
Initial value:
=
"polynomial_map module contains the PolynomialMap class"

Definition at line 573 of file PySquarePolynomialMap.cpp.