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 (PyArrayObject *pyArray, const Eigen::MatrixBase< MatrixDerived > &mat_)
 Copy Python array into the input matrix mat. More...
 
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::eigen_allocator_impl_matrix< MatType >

Definition at line 209 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 222 of file eigen-allocator.hpp.

◆ Type

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

Definition at line 221 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 224 of file eigen-allocator.hpp.

◆ copy() [1/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 239 of file eigen-allocator.hpp.

◆ copy() [2/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 291 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 Fri Jun 2 2023 02:10:27