Public Types | Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
value >>< PlainObjectType, StrideType > Struct Template Reference

#include <eigen.h>

Inheritance diagram for value >>< PlainObjectType, StrideType >:
Inheritance graph
[legend]

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>
Scalardata (Array &a)
 
template<typename T = Type, enable_if_t<!is_eigen_mutable_map< T >::value, int > = 0>
const Scalardata (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< MapTypemap
 
std::unique_ptr< Typeref
 

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
 

Detailed Description

template<typename PlainObjectType, typename StrideType>
struct value >>< PlainObjectType, StrideType >

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

Member Typedef Documentation

template<typename PlainObjectType , typename StrideType >
using value >>< PlainObjectType, StrideType >::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)>
private

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

template<typename PlainObjectType , typename StrideType >
template<typename _T >
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.

template<typename PlainObjectType , typename StrideType >
using value >>< PlainObjectType, StrideType >::MapType = Eigen::Map<PlainObjectType, 0, StrideType>
private

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

template<typename PlainObjectType , typename StrideType >
using value >>< PlainObjectType, StrideType >::props = EigenProps<Type>
private

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

template<typename PlainObjectType , typename StrideType >
using value >>< PlainObjectType, StrideType >::Scalar = typename props::Scalar
private

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

template<typename PlainObjectType , typename StrideType >
template<typename S >
using value >>< PlainObjectType, StrideType >::stride_ctor_default = bool_constant< S::InnerStrideAtCompileTime != Eigen::Dynamic && S::OuterStrideAtCompileTime != Eigen::Dynamic && std::is_default_constructible<S>::value>
private

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

template<typename PlainObjectType , typename StrideType >
template<typename S >
using value >>< PlainObjectType, StrideType >::stride_ctor_dual = bool_constant< !stride_ctor_default<S>::value && std::is_constructible<S, EigenIndex, EigenIndex>::value>
private

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

template<typename PlainObjectType , typename StrideType >
template<typename S >
using value >>< PlainObjectType, StrideType >::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>
private

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

template<typename PlainObjectType , typename StrideType >
template<typename S >
using value >>< PlainObjectType, StrideType >::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>
private

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

template<typename PlainObjectType , typename StrideType >
using value >>< PlainObjectType, StrideType >::Type = Eigen::Ref<PlainObjectType, 0, StrideType>
private

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

Member Function Documentation

template<typename PlainObjectType , typename StrideType >
template<typename T = Type, enable_if_t< is_eigen_mutable_map< T >::value, int > = 0>
Scalar* value >>< PlainObjectType, StrideType >::data ( Array a)
inlineprivate

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

template<typename PlainObjectType , typename StrideType >
template<typename T = Type, enable_if_t<!is_eigen_mutable_map< T >::value, int > = 0>
const Scalar* value >>< PlainObjectType, StrideType >::data ( Array a)
inlineprivate

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

template<typename PlainObjectType , typename StrideType >
bool value >>< PlainObjectType, StrideType >::load ( handle  src,
bool  convert 
)
inline

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

template<typename PlainObjectType , typename StrideType >
template<typename S = StrideType, enable_if_t< stride_ctor_default< S >::value, int > = 0>
static S value >>< PlainObjectType, StrideType >::make_stride ( EigenIndex  ,
EigenIndex   
)
inlinestaticprivate

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

template<typename PlainObjectType , typename StrideType >
template<typename S = StrideType, enable_if_t< stride_ctor_dual< S >::value, int > = 0>
static S value >>< PlainObjectType, StrideType >::make_stride ( EigenIndex  outer,
EigenIndex  inner 
)
inlinestaticprivate

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

template<typename PlainObjectType , typename StrideType >
template<typename S = StrideType, enable_if_t< stride_ctor_outer< S >::value, int > = 0>
static S value >>< PlainObjectType, StrideType >::make_stride ( EigenIndex  outer,
EigenIndex   
)
inlinestaticprivate

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

template<typename PlainObjectType , typename StrideType >
template<typename S = StrideType, enable_if_t< stride_ctor_inner< S >::value, int > = 0>
static S value >>< PlainObjectType, StrideType >::make_stride ( EigenIndex  ,
EigenIndex  inner 
)
inlinestaticprivate

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

template<typename PlainObjectType , typename StrideType >
value >>< PlainObjectType, StrideType >::operator Type & ( )
inline

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

template<typename PlainObjectType , typename StrideType >
value >>< PlainObjectType, StrideType >::operator Type * ( )
inline

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

Member Data Documentation

template<typename PlainObjectType , typename StrideType >
Array value >>< PlainObjectType, StrideType >::copy_or_ref
private

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

template<typename PlainObjectType , typename StrideType >
std::unique_ptr<MapType> value >>< PlainObjectType, StrideType >::map
private

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

template<typename PlainObjectType , typename StrideType >
constexpr bool value >>< PlainObjectType, StrideType >::need_writeable = is_eigen_mutable_map<Type>::value
staticprivate

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

template<typename PlainObjectType , typename StrideType >
std::unique_ptr<Type> value >>< PlainObjectType, StrideType >::ref
private

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


The documentation for this struct was generated from the following file:


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:58