Public Types | Static Public Member Functions | List of all members
eigenpy::EigenAllocator< MatType > Struct Template Reference

#include <eigen-allocator.hpp>

Public Types

typedef MatType::Scalar Scalar
 
typedef MatType Type
 

Static Public Member Functions

static void allocate (PyArrayObject *pyArray, bp::converter::rvalue_from_python_storage< MatType > *storage)
 
template<typename MatrixDerived >
static void copy (const Eigen::MatrixBase< MatrixDerived > &mat_, PyArrayObject *pyArray)
 Copy mat into the Python array using Eigen::Map. More...
 

Detailed Description

template<typename MatType>
struct eigenpy::EigenAllocator< MatType >

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

Member Typedef Documentation

template<typename MatType >
typedef MatType::Scalar eigenpy::EigenAllocator< MatType >::Scalar

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

template<typename MatType >
typedef MatType eigenpy::EigenAllocator< MatType >::Type

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

Member Function Documentation

template<typename MatType >
static void eigenpy::EigenAllocator< MatType >::allocate ( PyArrayObject *  pyArray,
bp::converter::rvalue_from_python_storage< MatType > *  storage 
)
inlinestatic

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

template<typename MatType >
template<typename MatrixDerived >
static void eigenpy::EigenAllocator< MatType >::copy ( const Eigen::MatrixBase< MatrixDerived > &  mat_,
PyArrayObject *  pyArray 
)
inlinestatic

Copy mat into the Python array using Eigen::Map.

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


The documentation for this struct was generated from the following file:


eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Sat Apr 17 2021 02:37:59