Classes | Namespaces | Macros | Functions
numpy.hpp File Reference
#include "eigenpy/fwd.hpp"
#include <numpy/numpyconfig.h>
#include <numpy/ndarrayobject.h>
#include <numpy/ufuncobject.h>
Include dependency graph for numpy.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  eigenpy::NumpyEquivalentType< Scalar >
 
struct  eigenpy::NumpyEquivalentType< bool >
 
struct  eigenpy::NumpyEquivalentType< char >
 
struct  eigenpy::NumpyEquivalentType< double >
 
struct  eigenpy::NumpyEquivalentType< float >
 
struct  eigenpy::NumpyEquivalentType< int16_t >
 
struct  eigenpy::NumpyEquivalentType< int32_t >
 
struct  eigenpy::NumpyEquivalentType< int64_t >
 
struct  eigenpy::NumpyEquivalentType< int8_t >
 
struct  eigenpy::NumpyEquivalentType< long double >
 
struct  eigenpy::NumpyEquivalentType< std::complex< double > >
 
struct  eigenpy::NumpyEquivalentType< std::complex< float > >
 
struct  eigenpy::NumpyEquivalentType< std::complex< long double > >
 
struct  eigenpy::NumpyEquivalentType< uint16_t >
 
struct  eigenpy::NumpyEquivalentType< uint32_t >
 
struct  eigenpy::NumpyEquivalentType< uint64_t >
 
struct  eigenpy::NumpyEquivalentType< unsigned char >
 

Namespaces

 eigenpy
 

Macros

#define EIGENPY_GET_PY_ARRAY_TYPE(array)   PyArray_MinScalarType(array)->type_num
 
#define PY_ARRAY_UNIQUE_SYMBOL   EIGENPY_ARRAY_API
 
#define Py_SET_TYPE(o, type)   _Py_SET_TYPE((PyObject*)(o), type)
 
#define PyArray_DescrProto   PyArray_Descr
 

Functions

static void _Py_SET_TYPE (PyObject *o, PyTypeObject *type)
 
bool eigenpy::call_PyArray_Check (PyObject *py_obj)
 
PyArray_Descr * eigenpy::call_PyArray_DescrFromType (int typenum)
 
void eigenpy::call_PyArray_InitArrFuncs (PyArray_ArrFuncs *funcs)
 
PyArray_Descr * eigenpy::call_PyArray_MinScalarType (PyArrayObject *arr)
 
PyObject * eigenpy::call_PyArray_New (PyTypeObject *py_type_ptr, int nd, npy_intp *shape, int np_type, npy_intp *strides, void *data_ptr, int options)
 
PyObject * eigenpy::call_PyArray_New (PyTypeObject *py_type_ptr, int nd, npy_intp *shape, int np_type, void *data_ptr, int options)
 
int eigenpy::call_PyArray_ObjectType (PyObject *obj, int val)
 
int eigenpy::call_PyArray_RegisterCanCast (PyArray_Descr *descr, int totype, NPY_SCALARKIND scalar)
 
int eigenpy::call_PyArray_RegisterCastFunc (PyArray_Descr *descr, int totype, PyArray_VectorUnaryFunc *castfunc)
 
int eigenpy::call_PyArray_RegisterDataType (PyArray_DescrProto *dtype)
 
PyObject * eigenpy::call_PyArray_SimpleNew (int nd, npy_intp *shape, int np_type)
 
PyTypeObject * eigenpy::getPyArrayType ()
 
void EIGENPY_DLLAPI eigenpy::import_numpy ()
 
template<typename Scalar >
bool eigenpy::isNumpyNativeType ()
 
int EIGENPY_DLLAPI eigenpy::PyArray_TypeNum (PyTypeObject *type)
 
static PyArray_ArrFuncs * PyDataType_GetArrFuncs (PyArray_Descr *descr)
 

Macro Definition Documentation

◆ EIGENPY_GET_PY_ARRAY_TYPE

#define EIGENPY_GET_PY_ARRAY_TYPE (   array)    PyArray_MinScalarType(array)->type_num

Definition at line 50 of file numpy.hpp.

◆ PY_ARRAY_UNIQUE_SYMBOL

#define PY_ARRAY_UNIQUE_SYMBOL   EIGENPY_ARRAY_API

Definition at line 11 of file numpy.hpp.

◆ Py_SET_TYPE

#define Py_SET_TYPE (   o,
  type 
)    _Py_SET_TYPE((PyObject*)(o), type)

Definition at line 43 of file numpy.hpp.

◆ PyArray_DescrProto

#define PyArray_DescrProto   PyArray_Descr

Definition at line 24 of file numpy.hpp.

Function Documentation

◆ _Py_SET_TYPE()

static void _Py_SET_TYPE ( PyObject *  o,
PyTypeObject *  type 
)
inlinestatic

Definition at line 40 of file numpy.hpp.

◆ PyDataType_GetArrFuncs()

static PyArray_ArrFuncs* PyDataType_GetArrFuncs ( PyArray_Descr *  descr)
inlinestatic

Definition at line 31 of file numpy.hpp.



eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Fri Apr 26 2024 02:17:35