Namespaces | |
detail | |
details | |
internal | |
Functions | |
void * | aligned_malloc (std::size_t size, std::size_t alignment=EIGENPY_DEFAULT_ALIGN_BYTES) |
bool | call_PyArray_Check (PyObject *py_obj) |
PyArray_Descr * | call_PyArray_DescrFromType (int typenum) |
void | call_PyArray_InitArrFuncs (PyArray_ArrFuncs *funcs) |
PyArray_Descr * | call_PyArray_MinScalarType (PyArrayObject *arr) |
PyObject * | call_PyArray_New (PyTypeObject *py_type_ptr, int nd, npy_intp *shape, int np_type, void *data_ptr, int options) |
PyObject * | call_PyArray_New (PyTypeObject *py_type_ptr, int nd, npy_intp *shape, int np_type, npy_intp *strides, void *data_ptr, int options) |
int | call_PyArray_ObjectType (PyObject *obj, int val) |
int | call_PyArray_RegisterCanCast (PyArray_Descr *descr, int totype, NPY_SCALARKIND scalar) |
int | call_PyArray_RegisterCastFunc (PyArray_Descr *descr, int totype, PyArray_VectorUnaryFunc *castfunc) |
int | call_PyArray_RegisterDataType (PyArray_Descr *dtype) |
PyObject * | call_PyArray_SimpleNew (int nd, npy_intp *shape, int np_type) |
template<typename T > | |
bool | check_registration () |
Check at runtime the registration of the type T inside the boost python registry. More... | |
bool EIGENPY_DLLAPI | checkVersionAtLeast (unsigned int major_version, unsigned int minor_version, unsigned int patch_version) |
Checks if the current version of EigenPy is at least the version provided by the input arguments. More... | |
template<typename MatOrRefType > | |
void | eigen_from_py_construct (PyObject *pyObj, bp::converter::rvalue_from_python_stage1_data *memory) |
void EIGENPY_DLLAPI | enableEigenPy () |
template<typename MatType > | |
void | enableEigenPySpecific () |
template<typename T > | |
void | expose () |
Call the expose function of a given type T. More... | |
void EIGENPY_DLLAPI | exposeAngleAxis () |
void | exposeComputationInfo () |
void EIGENPY_DLLAPI | exposeDecompositions () |
void EIGENPY_DLLAPI | exposeGeometryConversion () |
void | exposeMatrixBool () |
void | exposeMatrixComplexDouble () |
void | exposeMatrixComplexFloat () |
void | exposeMatrixComplexLongDouble () |
void | exposeMatrixDouble () |
void | exposeMatrixFloat () |
void | exposeMatrixInt () |
void | exposeMatrixLong () |
void | exposeMatrixLongDouble () |
void | exposeNoneType () |
void EIGENPY_DLLAPI | exposePreconditioners () |
void EIGENPY_DLLAPI | exposeQuaternion () |
void EIGENPY_DLLAPI | exposeSolvers () |
void EIGENPY_DLLAPI | exposeStdVector () |
template<typename MatType > | |
void | exposeStdVectorEigenSpecificType (const char *name) |
template<typename Scalar , int Options> | |
EIGEN_DONT_INLINE void | exposeType () |
template<typename Scalar > | |
EIGEN_DONT_INLINE void | exposeType () |
PySwigObject * | get_PySwigObject (PyObject *pyObj) |
template<typename T > | |
boost::python::object | getInstanceClass () |
Get the class object for a wrapped type that has been exposed through Boost.Python. More... | |
PyTypeObject * | getPyArrayType () |
void EIGENPY_DLLAPI | import_numpy () |
bool | is_aligned (const void *ptr, std::size_t alignment) |
template<typename MatrixType1 , typename MatrixType2 > | |
EIGEN_DONT_INLINE bool | is_approx (const Eigen::MatrixBase< MatrixType1 > &mat1, const Eigen::MatrixBase< MatrixType2 > &mat2, const typename MatrixType1::Scalar &prec) |
template<typename MatrixType1 , typename MatrixType2 > | |
EIGEN_DONT_INLINE bool | is_approx (const Eigen::MatrixBase< MatrixType1 > &mat1, const Eigen::MatrixBase< MatrixType2 > &mat2) |
template<typename Scalar > | |
bool | isNumpyNativeType () |
template<typename Scalar > | |
bool | np_type_is_convertible_into_scalar (const int np_type) |
std::string EIGENPY_DLLAPI | printEigenVersion (const std::string &delimiter=".") |
Returns the current version of Eigen3 as a string using the following standard: EIGEN_MINOR_VERSION.EIGEN_MINOR_VERSION.EIGEN_PATCH_VERSION. More... | |
std::string EIGENPY_DLLAPI | printVersion (const std::string &delimiter=".") |
Returns the current version of EigenPy as a string using the following standard: EIGENPY_MINOR_VERSION.EIGENPY_MINOR_VERSION.EIGENPY_PATCH_VERSION. More... | |
int EIGENPY_DLLAPI | PyArray_TypeNum (PyTypeObject *type) |
template<typename T > | |
bool | register_symbolic_link_to_registered_type () |
Symlink to the current scope the already registered class T. More... | |
template<typename From , typename To > | |
bool | registerCast (const bool safe) |
template<typename Scalar > | |
void | registerCommonUfunc () |
template<typename Scalar > | |
int | registerNewType (PyTypeObject *py_type_ptr=NULL) |
void | seed (unsigned int seed_value) |
Copyright (c) 2016-2022 CNRS INRIA This file was taken from Pinocchio (header <pinocchio/bindings/python/utils/std-vector.hpp>)
Copyright 2023 CNRS, INRIA
|
inline |
Definition at line 33 of file alignment.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Check at runtime the registration of the type T inside the boost python registry.
T | The type to check the registration. |
Definition at line 22 of file registration.hpp.
bool eigenpy::checkVersionAtLeast | ( | unsigned int | major_version, |
unsigned int | minor_version, | ||
unsigned int | patch_version | ||
) |
Checks if the current version of EigenPy is at least the version provided by the input arguments.
[in] | major_version | Major version to check. |
[in] | minor_version | Minor version to check. |
[in] | patch_version | Patch version to check. |
Definition at line 27 of file version.cpp.
void eigenpy::eigen_from_py_construct | ( | PyObject * | pyObj, |
bp::converter::rvalue_from_python_stage1_data * | memory | ||
) |
Definition at line 248 of file eigen-from-python.hpp.
void eigenpy::enableEigenPy | ( | ) |
Definition at line 29 of file eigenpy.cpp.
void eigenpy::enableEigenPySpecific | ( | ) |
Definition at line 63 of file details.hpp.
|
inline |
Call the expose function of a given type T.
Definition at line 23 of file expose.hpp.
void eigenpy::exposeAngleAxis | ( | ) |
Definition at line 10 of file angle-axis.cpp.
|
inline |
Definition at line 11 of file computation-info.hpp.
void eigenpy::exposeDecompositions | ( | ) |
Definition at line 15 of file decompositions.cpp.
void eigenpy::exposeGeometryConversion | ( | ) |
Definition at line 10 of file geometry-conversion.cpp.
void eigenpy::exposeMatrixBool | ( | ) |
Definition at line 8 of file matrix-bool.cpp.
void eigenpy::exposeMatrixComplexDouble | ( | ) |
Definition at line 8 of file matrix-complex-double.cpp.
void eigenpy::exposeMatrixComplexFloat | ( | ) |
Definition at line 8 of file matrix-complex-float.cpp.
void eigenpy::exposeMatrixComplexLongDouble | ( | ) |
Definition at line 8 of file matrix-complex-long-double.cpp.
void eigenpy::exposeMatrixDouble | ( | ) |
Definition at line 8 of file matrix-double.cpp.
void eigenpy::exposeMatrixFloat | ( | ) |
Definition at line 8 of file matrix-float.cpp.
void eigenpy::exposeMatrixInt | ( | ) |
Definition at line 8 of file matrix-int.cpp.
void eigenpy::exposeMatrixLong | ( | ) |
Definition at line 8 of file matrix-long.cpp.
void eigenpy::exposeMatrixLongDouble | ( | ) |
Definition at line 8 of file matrix-long-double.cpp.
void eigenpy::exposeNoneType | ( | ) |
Definition at line 8 of file optional.cpp.
void EIGENPY_DLLAPI eigenpy::exposePreconditioners | ( | ) |
void eigenpy::exposeQuaternion | ( | ) |
Definition at line 12 of file quaternion.cpp.
void EIGENPY_DLLAPI eigenpy::exposeSolvers | ( | ) |
void eigenpy::exposeStdVector | ( | ) |
Expose std::vector for given matrix or vector sizes.
Definition at line 10 of file std-vector.cpp.
void eigenpy::exposeStdVectorEigenSpecificType | ( | const char * | name | ) |
Definition at line 435 of file std-vector.hpp.
EIGEN_DONT_INLINE void eigenpy::exposeType | ( | ) |
Definition at line 27 of file eigenpy.hpp.
EIGEN_DONT_INLINE void eigenpy::exposeType | ( | ) |
Definition at line 58 of file eigenpy.hpp.
|
inline |
boost::python::object eigenpy::getInstanceClass | ( | ) |
Get the class object for a wrapped type that has been exposed through Boost.Python.
Definition at line 287 of file user-type.hpp.
|
inline |
Definition at line 9 of file is-aligned.hpp.
|
inline |
Definition at line 12 of file is-approx.hpp.
|
inline |
Definition at line 20 of file is-approx.hpp.
bool eigenpy::isNumpyNativeType | ( | ) |
bool eigenpy::np_type_is_convertible_into_scalar | ( | const int | np_type | ) |
Definition at line 19 of file numpy-type.hpp.
std::string eigenpy::printEigenVersion | ( | const std::string & | delimiter = "." | ) |
Returns the current version of Eigen3 as a string using the following standard: EIGEN_MINOR_VERSION.EIGEN_MINOR_VERSION.EIGEN_PATCH_VERSION.
Definition at line 20 of file version.cpp.
std::string eigenpy::printVersion | ( | const std::string & | delimiter = "." | ) |
Returns the current version of EigenPy as a string using the following standard: EIGENPY_MINOR_VERSION.EIGENPY_MINOR_VERSION.EIGENPY_PATCH_VERSION.
Definition at line 13 of file version.cpp.
|
inline |
Symlink to the current scope the already registered class T.
T | The type to symlink. |
Definition at line 41 of file registration.hpp.
bool eigenpy::registerCast | ( | const bool | safe | ) |
Definition at line 243 of file user-type.hpp.
void eigenpy::registerCommonUfunc | ( | ) |
int eigenpy::registerNewType | ( | PyTypeObject * | py_type_ptr = NULL | ) |
Definition at line 305 of file user-type.hpp.
void eigenpy::seed | ( | unsigned int | seed_value | ) |
Definition at line 12 of file eigenpy.cpp.