Structure collecting all the types registers in Numpy via EigenPy.
More...
#include <register.hpp>
|
template<typename Scalar > |
static PyArray_Descr * | getPyArrayDescr () |
|
static PyArray_Descr * | getPyArrayDescr (PyTypeObject *py_type_ptr) |
|
template<typename Scalar > |
static PyArray_Descr * | getPyArrayDescrFromScalarType () |
|
static PyArray_Descr * | getPyArrayDescrFromTypeNum (const int type_num) |
|
template<typename Scalar > |
static PyTypeObject * | getPyType () |
|
template<typename Scalar > |
static int | getTypeCode () |
|
static int | getTypeCode (PyTypeObject *py_type_ptr) |
|
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]
template<typename Scalar >
static PyArray_Descr* eigenpy::Register::getPyArrayDescr |
( |
| ) |
|
|
inlinestatic |
◆ getPyArrayDescr() [2/2]
PyArray_Descr * eigenpy::Register::getPyArrayDescr |
( |
PyTypeObject * |
py_type_ptr | ) |
|
|
static |
◆ getPyArrayDescrFromScalarType()
template<typename Scalar >
static PyArray_Descr* eigenpy::Register::getPyArrayDescrFromScalarType |
( |
| ) |
|
|
inlinestatic |
◆ getPyArrayDescrFromTypeNum()
PyArray_Descr * eigenpy::Register::getPyArrayDescrFromTypeNum |
( |
const int |
type_num | ) |
|
|
static |
◆ getPyType()
template<typename Scalar >
static PyTypeObject* eigenpy::Register::getPyType |
( |
| ) |
|
|
inlinestatic |
◆ getTypeCode() [1/2]
template<typename Scalar >
static int eigenpy::Register::getTypeCode |
( |
| ) |
|
|
inlinestatic |
◆ getTypeCode() [2/2]
int eigenpy::Register::getTypeCode |
( |
PyTypeObject * |
py_type_ptr | ) |
|
|
static |
◆ 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: