Eigen::TensorSelectOp< IfXprType, ThenXprType, ElseXprType > Class Template Reference
+ Inheritance diagram for Eigen::TensorSelectOp< IfXprType, ThenXprType, ElseXprType >:

Public Types

typedef internal::promote_storage_type< typename ThenXprType::CoeffReturnType, typename ElseXprType::CoeffReturnType >::ret CoeffReturnType
 
typedef Eigen::internal::traits< TensorSelectOp >::Index Index
 
typedef Eigen::internal::nested< TensorSelectOp >::type Nested
 
typedef Eigen::NumTraits< Scalar >::Real RealScalar
 
typedef Eigen::internal::traits< TensorSelectOp >::Scalar Scalar
 
typedef Eigen::internal::traits< TensorSelectOp >::StorageKind StorageKind
 

Public Member Functions

const ElseXprType & elseExpression () const
 
const IfXprType & ifExpression () const
 
 TensorSelectOp (const IfXprType &a_condition, const ThenXprType &a_then, const ElseXprType &a_else)
 
const ThenXprType & thenExpression () const
 

Protected Attributes

IfXprType::Nested m_condition
 
ElseXprType::Nested m_else
 
ThenXprType::Nested m_then
 

Detailed Description

template<typename IfXprType, typename ThenXprType, typename ElseXprType>
class Eigen::TensorSelectOp< IfXprType, ThenXprType, ElseXprType >

Definition at line 354 of file TensorExpr.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename IfXprType , typename ThenXprType , typename ElseXprType >
typedef internal::promote_storage_type<typename ThenXprType::CoeffReturnType, typename ElseXprType::CoeffReturnType>::ret Eigen::TensorSelectOp< IfXprType, ThenXprType, ElseXprType >::CoeffReturnType

Definition at line 360 of file TensorExpr.h.

◆ Index

template<typename IfXprType , typename ThenXprType , typename ElseXprType >
typedef Eigen::internal::traits<TensorSelectOp>::Index Eigen::TensorSelectOp< IfXprType, ThenXprType, ElseXprType >::Index

Definition at line 363 of file TensorExpr.h.

◆ Nested

template<typename IfXprType , typename ThenXprType , typename ElseXprType >
typedef Eigen::internal::nested<TensorSelectOp>::type Eigen::TensorSelectOp< IfXprType, ThenXprType, ElseXprType >::Nested

Definition at line 361 of file TensorExpr.h.

◆ RealScalar

template<typename IfXprType , typename ThenXprType , typename ElseXprType >
typedef Eigen::NumTraits<Scalar>::Real Eigen::TensorSelectOp< IfXprType, ThenXprType, ElseXprType >::RealScalar

Definition at line 358 of file TensorExpr.h.

◆ Scalar

template<typename IfXprType , typename ThenXprType , typename ElseXprType >
typedef Eigen::internal::traits<TensorSelectOp>::Scalar Eigen::TensorSelectOp< IfXprType, ThenXprType, ElseXprType >::Scalar

Definition at line 357 of file TensorExpr.h.

◆ StorageKind

template<typename IfXprType , typename ThenXprType , typename ElseXprType >
typedef Eigen::internal::traits<TensorSelectOp>::StorageKind Eigen::TensorSelectOp< IfXprType, ThenXprType, ElseXprType >::StorageKind

Definition at line 362 of file TensorExpr.h.

Constructor & Destructor Documentation

◆ TensorSelectOp()

template<typename IfXprType , typename ThenXprType , typename ElseXprType >
Eigen::TensorSelectOp< IfXprType, ThenXprType, ElseXprType >::TensorSelectOp ( const IfXprType &  a_condition,
const ThenXprType &  a_then,
const ElseXprType &  a_else 
)
inline

Definition at line 366 of file TensorExpr.h.

369  : m_condition(a_condition), m_then(a_then), m_else(a_else)
370  { }
ThenXprType::Nested m_then
Definition: TensorExpr.h:383
IfXprType::Nested m_condition
Definition: TensorExpr.h:382
ElseXprType::Nested m_else
Definition: TensorExpr.h:384

Member Function Documentation

◆ elseExpression()

template<typename IfXprType , typename ThenXprType , typename ElseXprType >
const ElseXprType& Eigen::TensorSelectOp< IfXprType, ThenXprType, ElseXprType >::elseExpression ( ) const
inline

Definition at line 379 of file TensorExpr.h.

379 { return m_else; }

◆ ifExpression()

template<typename IfXprType , typename ThenXprType , typename ElseXprType >
const IfXprType& Eigen::TensorSelectOp< IfXprType, ThenXprType, ElseXprType >::ifExpression ( ) const
inline

Definition at line 373 of file TensorExpr.h.

373 { return m_condition; }

◆ thenExpression()

template<typename IfXprType , typename ThenXprType , typename ElseXprType >
const ThenXprType& Eigen::TensorSelectOp< IfXprType, ThenXprType, ElseXprType >::thenExpression ( ) const
inline

Definition at line 376 of file TensorExpr.h.

376 { return m_then; }

Member Data Documentation

◆ m_condition

template<typename IfXprType , typename ThenXprType , typename ElseXprType >
IfXprType::Nested Eigen::TensorSelectOp< IfXprType, ThenXprType, ElseXprType >::m_condition
protected

Definition at line 382 of file TensorExpr.h.

◆ m_else

template<typename IfXprType , typename ThenXprType , typename ElseXprType >
ElseXprType::Nested Eigen::TensorSelectOp< IfXprType, ThenXprType, ElseXprType >::m_else
protected

Definition at line 384 of file TensorExpr.h.

◆ m_then

template<typename IfXprType , typename ThenXprType , typename ElseXprType >
ThenXprType::Nested Eigen::TensorSelectOp< IfXprType, ThenXprType, ElseXprType >::m_then
protected

Definition at line 383 of file TensorExpr.h.


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