Eigen::TensorCwiseBinaryOp< BinaryOp, LhsXprType, RhsXprType > Class Template Reference
+ Inheritance diagram for Eigen::TensorCwiseBinaryOp< BinaryOp, LhsXprType, RhsXprType >:

Public Types

typedef Scalar CoeffReturnType
 
typedef Eigen::internal::traits< TensorCwiseBinaryOp >::Index Index
 
typedef Eigen::internal::nested< TensorCwiseBinaryOp >::type Nested
 
typedef Eigen::NumTraits< Scalar >::Real RealScalar
 
typedef Eigen::internal::traits< TensorCwiseBinaryOp >::Scalar Scalar
 
typedef Eigen::internal::traits< TensorCwiseBinaryOp >::StorageKind StorageKind
 

Public Member Functions

const BinaryOpfunctor () const
 
const internal::remove_all_t< typename LhsXprType::Nested > & lhsExpression () const
 
const internal::remove_all_t< typename RhsXprType::Nested > & rhsExpression () const
 
 TensorCwiseBinaryOp (const LhsXprType &lhs, const RhsXprType &rhs, const BinaryOp &func=BinaryOp())
 

Protected Attributes

const BinaryOp m_functor
 
LhsXprType::Nested m_lhs_xpr
 
RhsXprType::Nested m_rhs_xpr
 

Detailed Description

template<typename BinaryOp, typename LhsXprType, typename RhsXprType>
class Eigen::TensorCwiseBinaryOp< BinaryOp, LhsXprType, RhsXprType >

Definition at line 198 of file TensorExpr.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename BinaryOp , typename LhsXprType , typename RhsXprType >
typedef Scalar Eigen::TensorCwiseBinaryOp< BinaryOp, LhsXprType, RhsXprType >::CoeffReturnType

Definition at line 205 of file TensorExpr.h.

◆ Index

template<typename BinaryOp , typename LhsXprType , typename RhsXprType >
typedef Eigen::internal::traits<TensorCwiseBinaryOp>::Index Eigen::TensorCwiseBinaryOp< BinaryOp, LhsXprType, RhsXprType >::Index

Definition at line 208 of file TensorExpr.h.

◆ Nested

template<typename BinaryOp , typename LhsXprType , typename RhsXprType >
typedef Eigen::internal::nested<TensorCwiseBinaryOp>::type Eigen::TensorCwiseBinaryOp< BinaryOp, LhsXprType, RhsXprType >::Nested

Definition at line 206 of file TensorExpr.h.

◆ RealScalar

template<typename BinaryOp , typename LhsXprType , typename RhsXprType >
typedef Eigen::NumTraits<Scalar>::Real Eigen::TensorCwiseBinaryOp< BinaryOp, LhsXprType, RhsXprType >::RealScalar

Definition at line 204 of file TensorExpr.h.

◆ Scalar

template<typename BinaryOp , typename LhsXprType , typename RhsXprType >
typedef Eigen::internal::traits<TensorCwiseBinaryOp>::Scalar Eigen::TensorCwiseBinaryOp< BinaryOp, LhsXprType, RhsXprType >::Scalar

Definition at line 203 of file TensorExpr.h.

◆ StorageKind

template<typename BinaryOp , typename LhsXprType , typename RhsXprType >
typedef Eigen::internal::traits<TensorCwiseBinaryOp>::StorageKind Eigen::TensorCwiseBinaryOp< BinaryOp, LhsXprType, RhsXprType >::StorageKind

Definition at line 207 of file TensorExpr.h.

Constructor & Destructor Documentation

◆ TensorCwiseBinaryOp()

template<typename BinaryOp , typename LhsXprType , typename RhsXprType >
Eigen::TensorCwiseBinaryOp< BinaryOp, LhsXprType, RhsXprType >::TensorCwiseBinaryOp ( const LhsXprType &  lhs,
const RhsXprType &  rhs,
const BinaryOp func = BinaryOp() 
)
inline

Definition at line 210 of file TensorExpr.h.

211  : m_lhs_xpr(lhs), m_rhs_xpr(rhs), m_functor(func) {}
RhsXprType::Nested m_rhs_xpr
Definition: TensorExpr.h:227
const BinaryOp m_functor
Definition: TensorExpr.h:228
LhsXprType::Nested m_lhs_xpr
Definition: TensorExpr.h:226

Member Function Documentation

◆ functor()

template<typename BinaryOp , typename LhsXprType , typename RhsXprType >
const BinaryOp& Eigen::TensorCwiseBinaryOp< BinaryOp, LhsXprType, RhsXprType >::functor ( ) const
inline

Definition at line 214 of file TensorExpr.h.

214 { return m_functor; }

◆ lhsExpression()

template<typename BinaryOp , typename LhsXprType , typename RhsXprType >
const internal::remove_all_t<typename LhsXprType::Nested>& Eigen::TensorCwiseBinaryOp< BinaryOp, LhsXprType, RhsXprType >::lhsExpression ( ) const
inline
Returns
the nested expressions

Definition at line 219 of file TensorExpr.h.

219 { return m_lhs_xpr; }

◆ rhsExpression()

template<typename BinaryOp , typename LhsXprType , typename RhsXprType >
const internal::remove_all_t<typename RhsXprType::Nested>& Eigen::TensorCwiseBinaryOp< BinaryOp, LhsXprType, RhsXprType >::rhsExpression ( ) const
inline

Definition at line 223 of file TensorExpr.h.

223 { return m_rhs_xpr; }

Member Data Documentation

◆ m_functor

template<typename BinaryOp , typename LhsXprType , typename RhsXprType >
const BinaryOp Eigen::TensorCwiseBinaryOp< BinaryOp, LhsXprType, RhsXprType >::m_functor
protected

Definition at line 228 of file TensorExpr.h.

◆ m_lhs_xpr

template<typename BinaryOp , typename LhsXprType , typename RhsXprType >
LhsXprType::Nested Eigen::TensorCwiseBinaryOp< BinaryOp, LhsXprType, RhsXprType >::m_lhs_xpr
protected

Definition at line 226 of file TensorExpr.h.

◆ m_rhs_xpr

template<typename BinaryOp , typename LhsXprType , typename RhsXprType >
RhsXprType::Nested Eigen::TensorCwiseBinaryOp< BinaryOp, LhsXprType, RhsXprType >::m_rhs_xpr
protected

Definition at line 227 of file TensorExpr.h.


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