Public Types | Static Public Member Functions | List of all members
eigenpy::eigen_from_py_impl< TensorType, Eigen::TensorBase< TensorType > > Struct Template Reference

#include <eigen-from-python.hpp>

Public Types

typedef TensorType::Scalar Scalar
 

Static Public Member Functions

static void construct (PyObject *pyObj, bp::converter::rvalue_from_python_stage1_data *memory)
 Allocate memory and copy pyObj in the new storage. More...
 
static void * convertible (PyObject *pyObj)
 Determine if pyObj can be converted into a MatType object. More...
 
static void registration ()
 

Detailed Description

template<typename TensorType>
struct eigenpy::eigen_from_py_impl< TensorType, Eigen::TensorBase< TensorType > >

Definition at line 78 of file tensor/eigen-from-python.hpp.

Member Typedef Documentation

◆ Scalar

template<typename TensorType >
typedef TensorType::Scalar eigenpy::eigen_from_py_impl< TensorType, Eigen::TensorBase< TensorType > >::Scalar

Definition at line 79 of file tensor/eigen-from-python.hpp.

Member Function Documentation

◆ construct()

template<typename TensorType >
void eigenpy::eigen_from_py_impl< TensorType, Eigen::TensorBase< TensorType > >::construct ( PyObject *  pyObj,
bp::converter::rvalue_from_python_stage1_data *  memory 
)
static

Allocate memory and copy pyObj in the new storage.

Definition at line 122 of file tensor/eigen-from-python.hpp.

◆ convertible()

template<typename TensorType >
void * eigenpy::eigen_from_py_impl< TensorType, Eigen::TensorBase< TensorType > >::convertible ( PyObject *  pyObj)
static

Determine if pyObj can be converted into a MatType object.

Definition at line 93 of file tensor/eigen-from-python.hpp.

◆ registration()

template<typename TensorType >
void eigenpy::eigen_from_py_impl< TensorType, Eigen::TensorBase< TensorType > >::registration ( )
static

Definition at line 129 of file tensor/eigen-from-python.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