Classes | Namespaces | Macros | Functions
eigen-allocator.hpp File Reference
#include "eigenpy/fwd.hpp"
#include "eigenpy/numpy-map.hpp"
#include "eigenpy/register.hpp"
#include "eigenpy/scalar-conversion.hpp"
#include "eigenpy/utils/is-aligned.hpp"
Include dependency graph for eigen-allocator.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  eigenpy::details::cast< Scalar, NewScalar, EigenBase, cast_is_valid >
 
struct  eigenpy::details::cast< Scalar, NewScalar, EigenBase, false >
 
struct  eigenpy::details::check_swap_impl< EigenType, BaseType >
 
struct  eigenpy::details::check_swap_impl< MatType, Eigen::MatrixBase< MatType > >
 
struct  eigenpy::details::check_swap_impl_matrix< MatType >
 
struct  eigenpy::details::check_swap_impl_matrix< MatType >
 
struct  eigenpy::eigen_allocator_impl< EigenType, BaseType >
 
struct  eigenpy::eigen_allocator_impl< const MatType, const Eigen::MatrixBase< MatType > >
 
struct  eigenpy::eigen_allocator_impl< MatType, Eigen::MatrixBase< MatType > >
 
struct  eigenpy::eigen_allocator_impl_matrix< MatType >
 
struct  eigenpy::eigen_allocator_impl_matrix< MatType >
 
struct  eigenpy::EigenAllocator< EigenType >
 
struct  eigenpy::EigenAllocator< EigenType >
 
struct  eigenpy::details::init_matrix_or_array< MatType, IsVectorAtCompileTime >
 
struct  eigenpy::details::init_matrix_or_array< MatType, true >
 

Namespaces

 eigenpy
 
 eigenpy::details
 

Macros

#define EIGENPY_CAST_FROM_EIGEN_MATRIX_TO_PYARRAY(MatType, Scalar, NewScalar, mat, pyArray)
 
#define EIGENPY_CAST_FROM_NUMPY_TO_EIGEN_SWITCH( pyArray_type_code, MatType, Scalar, pyArray, mat, CAST_MACRO)
 Define casting between Numpy matrix type to Eigen type. More...
 
#define EIGENPY_CAST_FROM_NUMPY_TO_EIGEN_SWITCH_OS_SPECIFIC(MatType, Scalar, pyArray, mat, CAST_MACRO)
 
#define EIGENPY_CAST_FROM_PYARRAY_TO_EIGEN_MATRIX(MatType, Scalar, NewScalar, pyArray, mat)
 

Functions

template<typename EigenType >
bool eigenpy::details::check_swap (PyArrayObject *pyArray, const EigenType &mat)
 

Macro Definition Documentation

◆ EIGENPY_CAST_FROM_EIGEN_MATRIX_TO_PYARRAY

#define EIGENPY_CAST_FROM_EIGEN_MATRIX_TO_PYARRAY (   MatType,
  Scalar,
  NewScalar,
  mat,
  pyArray 
)
Value:
mat, NumpyMap<MatType, NewScalar>::map( \
pyArray, details::check_swap(pyArray, mat)))

Definition at line 195 of file eigen-allocator.hpp.

◆ EIGENPY_CAST_FROM_NUMPY_TO_EIGEN_SWITCH

#define EIGENPY_CAST_FROM_NUMPY_TO_EIGEN_SWITCH (   pyArray_type_code,
  MatType,
  Scalar,
  pyArray,
  mat,
  CAST_MACRO 
)

Define casting between Numpy matrix type to Eigen type.

Definition at line 232 of file eigen-allocator.hpp.

◆ EIGENPY_CAST_FROM_NUMPY_TO_EIGEN_SWITCH_OS_SPECIFIC

#define EIGENPY_CAST_FROM_NUMPY_TO_EIGEN_SWITCH_OS_SPECIFIC (   MatType,
  Scalar,
  pyArray,
  mat,
  CAST_MACRO 
)

Definition at line 227 of file eigen-allocator.hpp.

◆ EIGENPY_CAST_FROM_PYARRAY_TO_EIGEN_MATRIX

#define EIGENPY_CAST_FROM_PYARRAY_TO_EIGEN_MATRIX (   MatType,
  Scalar,
  NewScalar,
  pyArray,
  mat 
)
Value:
NumpyMap<MatType, Scalar>::map(pyArray, \
details::check_swap(pyArray, mat)), \
mat)

Definition at line 188 of file eigen-allocator.hpp.

test_eigen_ref.mat
mat
Definition: test_eigen_ref.py:137
omniidl_be_python_with_docstring.run
def run(tree, args)
Definition: omniidl_be_python_with_docstring.py:140
eigenpy::details::check_swap
bool check_swap(PyArrayObject *pyArray, const EigenType &mat)
Definition: eigen-allocator.hpp:117


eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Sat Nov 2 2024 02:14:45