#include <eigen.h>
Public Types | |
template<typename _T > | |
using | cast_op_type = pybind11::detail::cast_op_type< _T > |
![]() | |
using | cast_op_type = Eigen::Ref< PlainObjectType, 0, StrideType > |
Public Member Functions | |
bool | load (handle src, bool convert) |
operator Type & () | |
operator Type * () | |
![]() | |
bool | load (handle, bool)=delete |
operator Eigen::Ref< PlainObjectType, 0, StrideType > ()=delete | |
Private Types | |
using | Array = array_t< Scalar, array::forcecast|((props::row_major ? props::inner_stride :props::outer_stride)==1 ? array::c_style :(props::row_major ? props::outer_stride :props::inner_stride)==1 ? array::f_style :0)> |
using | MapType = Eigen::Map< PlainObjectType, 0, StrideType > |
using | props = EigenProps< Type > |
using | Scalar = typename props::Scalar |
template<typename S > | |
using | stride_ctor_default = bool_constant< S::InnerStrideAtCompileTime !=Eigen::Dynamic &&S::OuterStrideAtCompileTime !=Eigen::Dynamic &&std::is_default_constructible< S >::value > |
template<typename S > | |
using | stride_ctor_dual = bool_constant<!stride_ctor_default< S >::value &&std::is_constructible< S, EigenIndex, EigenIndex >::value > |
template<typename S > | |
using | stride_ctor_inner = bool_constant<!any_of< stride_ctor_default< S >, stride_ctor_dual< S > >::value &&S::InnerStrideAtCompileTime==Eigen::Dynamic &&S::OuterStrideAtCompileTime !=Eigen::Dynamic &&std::is_constructible< S, EigenIndex >::value > |
template<typename S > | |
using | stride_ctor_outer = bool_constant<!any_of< stride_ctor_default< S >, stride_ctor_dual< S > >::value &&S::OuterStrideAtCompileTime==Eigen::Dynamic &&S::InnerStrideAtCompileTime !=Eigen::Dynamic &&std::is_constructible< S, EigenIndex >::value > |
using | Type = Eigen::Ref< PlainObjectType, 0, StrideType > |
Private Member Functions | |
template<typename T = Type, enable_if_t< is_eigen_mutable_map< T >::value, int > = 0> | |
Scalar * | data (Array &a) |
template<typename T = Type, enable_if_t<!is_eigen_mutable_map< T >::value, int > = 0> | |
const Scalar * | data (Array &a) |
Static Private Member Functions | |
template<typename S = StrideType, enable_if_t< stride_ctor_default< S >::value, int > = 0> | |
static S | make_stride (EigenIndex, EigenIndex) |
template<typename S = StrideType, enable_if_t< stride_ctor_dual< S >::value, int > = 0> | |
static S | make_stride (EigenIndex outer, EigenIndex inner) |
template<typename S = StrideType, enable_if_t< stride_ctor_outer< S >::value, int > = 0> | |
static S | make_stride (EigenIndex outer, EigenIndex) |
template<typename S = StrideType, enable_if_t< stride_ctor_inner< S >::value, int > = 0> | |
static S | make_stride (EigenIndex, EigenIndex inner) |
Private Attributes | |
Array | copy_or_ref |
std::unique_ptr< MapType > | map |
std::unique_ptr< Type > | ref |
Static Private Attributes | |
static constexpr bool | need_writeable = is_eigen_mutable_map<Type>::value |
Additional Inherited Members | |
![]() | |
static handle | cast (const Eigen::Ref< PlainObjectType, 0, StrideType > &src, return_value_policy policy, handle parent) |
![]() | |
static constexpr auto | name |
Definition at line 459 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 475 of file wrap/pybind11/include/pybind11/eigen.h.
using type_caster< Eigen::Ref< PlainObjectType, 0, StrideType >, enable_if_t< is_eigen_dense_map< Eigen::Ref< PlainObjectType, 0, StrideType > >::value > >::cast_op_type = pybind11::detail::cast_op_type<_T> |
Definition at line 550 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 467 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 465 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 466 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 568 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 574 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 588 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 582 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 464 of file wrap/pybind11/include/pybind11/eigen.h.
|
inlineprivate |
Definition at line 554 of file wrap/pybind11/include/pybind11/eigen.h.
|
inlineprivate |
Definition at line 559 of file wrap/pybind11/include/pybind11/eigen.h.
|
inline |
Definition at line 489 of file wrap/pybind11/include/pybind11/eigen.h.
|
inlinestaticprivate |
Definition at line 591 of file wrap/pybind11/include/pybind11/eigen.h.
|
inlinestaticprivate |
Definition at line 595 of file wrap/pybind11/include/pybind11/eigen.h.
|
inlinestaticprivate |
Definition at line 599 of file wrap/pybind11/include/pybind11/eigen.h.
|
inlinestaticprivate |
Definition at line 603 of file wrap/pybind11/include/pybind11/eigen.h.
|
inline |
Definition at line 548 of file wrap/pybind11/include/pybind11/eigen.h.
|
inline |
Definition at line 546 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 486 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 478 of file wrap/pybind11/include/pybind11/eigen.h.
|
staticprivate |
Definition at line 476 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 479 of file wrap/pybind11/include/pybind11/eigen.h.