#include <eigen.h>
Public Types | |
template<typename _T > | |
using | cast_op_type = pybind11::detail::cast_op_type< _T > |
Public Types inherited from eigen_map_caster< Eigen::Ref< PlainObjectType, 0, StrideType > > | |
using | cast_op_type = Eigen::Ref< PlainObjectType, 0, StrideType > |
Public Member Functions | |
bool | load (handle src, bool convert) |
operator Type & () | |
operator Type * () | |
Public Member Functions inherited from eigen_map_caster< Eigen::Ref< PlainObjectType, 0, StrideType > > | |
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 Public Member Functions inherited from eigen_map_caster< Eigen::Ref< PlainObjectType, 0, StrideType > > | |
static handle | cast (const Eigen::Ref< PlainObjectType, 0, StrideType > &src, return_value_policy policy, handle parent) |
Static Public Attributes inherited from eigen_map_caster< Eigen::Ref< PlainObjectType, 0, StrideType > > | |
static constexpr auto | name |
Definition at line 402 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 413 of file wrap/pybind11/include/pybind11/eigen.h.
using value >>< PlainObjectType, StrideType >::cast_op_type = pybind11::detail::cast_op_type<_T> |
Definition at line 474 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 410 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 408 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 409 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 487 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 491 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 501 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 497 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 407 of file wrap/pybind11/include/pybind11/eigen.h.
|
inlineprivate |
Definition at line 478 of file wrap/pybind11/include/pybind11/eigen.h.
|
inlineprivate |
Definition at line 481 of file wrap/pybind11/include/pybind11/eigen.h.
|
inline |
Definition at line 426 of file wrap/pybind11/include/pybind11/eigen.h.
|
inlinestaticprivate |
Definition at line 504 of file wrap/pybind11/include/pybind11/eigen.h.
|
inlinestaticprivate |
Definition at line 506 of file wrap/pybind11/include/pybind11/eigen.h.
|
inlinestaticprivate |
Definition at line 508 of file wrap/pybind11/include/pybind11/eigen.h.
|
inlinestaticprivate |
Definition at line 510 of file wrap/pybind11/include/pybind11/eigen.h.
|
inline |
Definition at line 473 of file wrap/pybind11/include/pybind11/eigen.h.
|
inline |
Definition at line 472 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 424 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 416 of file wrap/pybind11/include/pybind11/eigen.h.
|
staticprivate |
Definition at line 414 of file wrap/pybind11/include/pybind11/eigen.h.
|
private |
Definition at line 417 of file wrap/pybind11/include/pybind11/eigen.h.