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

#include <eigen-allocator.hpp>

Inheritance diagram for eigenpy::eigen_allocator_impl_matrix< MatType >:
Inheritance graph
[legend]

Public Types

typedef MatType::Scalar Scalar
 
typedef MatType Type
 

Static Public Member Functions

static void allocate (PyArrayObject *pyArray, boost::python::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...
 
template<typename MatrixDerived >
static void copy (PyArrayObject *pyArray, const Eigen::MatrixBase< MatrixDerived > &mat_)
 Copy Python array into the input matrix mat. More...
 

Detailed Description

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

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

Member Typedef Documentation

◆ Scalar

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

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

◆ Type

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

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

Member Function Documentation

◆ allocate()

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

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

◆ copy() [1/2]

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

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

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

◆ copy() [2/2]

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

Copy Python array into the input matrix mat.

Definition at line 324 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 Nov 2 2024 02:14:45