Structure collecting all the types registers in Numpy via EigenPy.
More...
#include <register.hpp>
|
static PyArray_Descr * | getPyArrayDescr (PyTypeObject *py_type_ptr) |
|
template<typename Scalar > |
static PyArray_Descr * | getPyArrayDescr () |
|
template<typename Scalar > |
static PyTypeObject * | getPyType () |
|
static int | getTypeCode (PyTypeObject *py_type_ptr) |
|
template<typename Scalar > |
static int | getTypeCode () |
|
static Register & | instance () |
|
template<typename Scalar > |
static bool | isRegistered () |
|
static bool | isRegistered (PyTypeObject *py_type_ptr) |
|
static int | registerNewType (PyTypeObject *py_type_ptr, const std::type_info *type_info_ptr, const int type_size, const int alignment, PyArray_GetItemFunc *getitem, PyArray_SetItemFunc *setitem, PyArray_NonzeroFunc *nonzero, PyArray_CopySwapFunc *copyswap, PyArray_CopySwapNFunc *copyswapn, PyArray_DotFunc *dotfunc, PyArray_FillFunc *fill, PyArray_FillWithScalarFunc *fillwithscalar) |
|
Structure collecting all the types registers in Numpy via EigenPy.
Definition at line 20 of file register.hpp.
◆ MapCode
◆ MapDescr
◆ MapInfo
◆ Register()
eigenpy::Register::Register |
( |
| ) |
|
|
inlineprivate |
◆ getPyArrayDescr() [1/2]
PyArray_Descr * eigenpy::Register::getPyArrayDescr |
( |
PyTypeObject * |
py_type_ptr | ) |
|
|
static |
◆ getPyArrayDescr() [2/2]
template<typename Scalar >
static PyArray_Descr* eigenpy::Register::getPyArrayDescr |
( |
| ) |
|
|
inlinestatic |
◆ getPyType()
template<typename Scalar >
static PyTypeObject* eigenpy::Register::getPyType |
( |
| ) |
|
|
inlinestatic |
◆ getTypeCode() [1/2]
int eigenpy::Register::getTypeCode |
( |
PyTypeObject * |
py_type_ptr | ) |
|
|
static |
◆ getTypeCode() [2/2]
template<typename Scalar >
static int eigenpy::Register::getTypeCode |
( |
| ) |
|
|
inlinestatic |
◆ instance()
Register & eigenpy::Register::instance |
( |
| ) |
|
|
static |
◆ isRegistered() [1/2]
template<typename Scalar >
static bool eigenpy::Register::isRegistered |
( |
| ) |
|
|
inlinestatic |
◆ isRegistered() [2/2]
bool eigenpy::Register::isRegistered |
( |
PyTypeObject * |
py_type_ptr | ) |
|
|
static |
◆ registerNewType()
int eigenpy::Register::registerNewType |
( |
PyTypeObject * |
py_type_ptr, |
|
|
const std::type_info * |
type_info_ptr, |
|
|
const int |
type_size, |
|
|
const int |
alignment, |
|
|
PyArray_GetItemFunc * |
getitem, |
|
|
PyArray_SetItemFunc * |
setitem, |
|
|
PyArray_NonzeroFunc * |
nonzero, |
|
|
PyArray_CopySwapFunc * |
copyswap, |
|
|
PyArray_CopySwapNFunc * |
copyswapn, |
|
|
PyArray_DotFunc * |
dotfunc, |
|
|
PyArray_FillFunc * |
fill, |
|
|
PyArray_FillWithScalarFunc * |
fillwithscalar |
|
) |
| |
|
static |
◆ py_array_code_bindings
MapCode eigenpy::Register::py_array_code_bindings |
|
private |
◆ py_array_descr_bindings
MapDescr eigenpy::Register::py_array_descr_bindings |
|
private |
◆ type_to_py_type_bindings
MapInfo eigenpy::Register::type_to_py_type_bindings |
|
private |
The documentation for this struct was generated from the following files: