Classes | Typedefs | Functions
wrap/pybind11/include/pybind11/eigen.h File Reference
#include "numpy.h"
#include <Eigen/Core>
#include <Eigen/SparseCore>
Include dependency graph for wrap/pybind11/include/pybind11/eigen.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  eigen_extract_stride< Type >
 
struct  eigen_extract_stride< Eigen::Map< PlainObjectType, MapOptions, StrideType > >
 
struct  eigen_extract_stride< Eigen::Ref< PlainObjectType, Options, StrideType > >
 
struct  eigen_map_caster< MapType >
 
struct  EigenConformable< EigenRowMajor >
 
struct  EigenProps< Type_ >
 
struct  type_caster< Eigen::Ref< PlainObjectType, 0, StrideType >, enable_if_t< is_eigen_dense_map< Eigen::Ref< PlainObjectType, 0, StrideType > >::value > >
 
struct  type_caster< Type, enable_if_t< is_eigen_dense_map< Type >::value > >
 
struct  type_caster< Type, enable_if_t< is_eigen_dense_plain< Type >::value > >
 
struct  type_caster< Type, enable_if_t< is_eigen_other< Type >::value > >
 
struct  type_caster< Type, enable_if_t< is_eigen_sparse< Type >::value > >
 

Typedefs

template<typename MatrixType >
using EigenDMap = Eigen::Map< MatrixType, 0, EigenDStride >
 
template<typename MatrixType >
using EigenDRef = Eigen::Ref< MatrixType, 0, EigenDStride >
 
using EigenDStride = Eigen::Stride< Eigen::Dynamic, Eigen::Dynamic >
 
using EigenIndex = EIGEN_DEFAULT_DENSE_INDEX_TYPE
 
template<typename Scalar , int Flags, typename StorageIndex >
using EigenMapSparseMatrix = Eigen::MappedSparseMatrix< Scalar, Flags, StorageIndex >
 
template<typename T >
using is_eigen_dense_map = all_of< is_template_base_of< Eigen::DenseBase, T >, std::is_base_of< Eigen::MapBase< T, Eigen::ReadOnlyAccessors >, T > >
 
template<typename T >
using is_eigen_dense_plain = all_of< negation< is_eigen_dense_map< T > >, is_template_base_of< Eigen::PlainObjectBase, T > >
 
template<typename T >
using is_eigen_mutable_map = std::is_base_of< Eigen::MapBase< T, Eigen::WriteAccessors >, T >
 
template<typename T >
using is_eigen_other = all_of< is_template_base_of< Eigen::EigenBase, T >, negation< any_of< is_eigen_dense_map< T >, is_eigen_dense_plain< T >, is_eigen_sparse< T > >> >
 
template<typename T >
using is_eigen_sparse = is_template_base_of< Eigen::SparseMatrixBase, T >
 

Functions

template<typename props >
handle eigen_array_cast (typename props::Type const &src, handle base=handle(), bool writeable=true)
 
template<typename props , typename Type , typename = enable_if_t<is_eigen_dense_plain<Type>::value>>
handle eigen_encapsulate (Type *src)
 
template<typename props , typename Type >
handle eigen_ref_array (Type &src, handle parent=none())
 

Typedef Documentation

◆ EigenDMap

template<typename MatrixType >
using EigenDMap = Eigen::Map<MatrixType, 0, EigenDStride>

Definition at line 52 of file wrap/pybind11/include/pybind11/eigen.h.

◆ EigenDRef

template<typename MatrixType >
using EigenDRef = Eigen::Ref<MatrixType, 0, EigenDStride>

Definition at line 50 of file wrap/pybind11/include/pybind11/eigen.h.

◆ EigenDStride

Definition at line 48 of file wrap/pybind11/include/pybind11/eigen.h.

◆ EigenIndex

Definition at line 61 of file wrap/pybind11/include/pybind11/eigen.h.

◆ EigenMapSparseMatrix

template<typename Scalar , int Flags, typename StorageIndex >
using EigenMapSparseMatrix = Eigen::MappedSparseMatrix<Scalar, Flags, StorageIndex>

Definition at line 63 of file wrap/pybind11/include/pybind11/eigen.h.

◆ is_eigen_dense_map

Definition at line 69 of file wrap/pybind11/include/pybind11/eigen.h.

◆ is_eigen_dense_plain

Definition at line 74 of file wrap/pybind11/include/pybind11/eigen.h.

◆ is_eigen_mutable_map

template<typename T >
using is_eigen_mutable_map = std::is_base_of<Eigen::MapBase<T, Eigen::WriteAccessors>, T>

Definition at line 71 of file wrap/pybind11/include/pybind11/eigen.h.

◆ is_eigen_other

Definition at line 84 of file wrap/pybind11/include/pybind11/eigen.h.

◆ is_eigen_sparse

Definition at line 76 of file wrap/pybind11/include/pybind11/eigen.h.

Function Documentation

◆ eigen_array_cast()

template<typename props >
handle eigen_array_cast ( typename props::Type const &  src,
handle  base = handle(),
bool  writeable = true 
)

Definition at line 252 of file wrap/pybind11/include/pybind11/eigen.h.

◆ eigen_encapsulate()

template<typename props , typename Type , typename = enable_if_t<is_eigen_dense_plain<Type>::value>>
handle eigen_encapsulate ( Type *  src)

Definition at line 287 of file wrap/pybind11/include/pybind11/eigen.h.

◆ eigen_ref_array()

template<typename props , typename Type >
handle eigen_ref_array ( Type &  src,
handle  parent = none() 
)

Definition at line 276 of file wrap/pybind11/include/pybind11/eigen.h.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:48