Eigen::TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > Class Template Reference

Tensor custom class. More...

+ Inheritance diagram for Eigen::TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >:

Public Types

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

Public Member Functions

const CustomBinaryFunc & func () const
 
const internal::remove_all_t< typename LhsXprType::Nested > & lhsExpression () const
 
const internal::remove_all_t< typename RhsXprType::Nested > & rhsExpression () const
 
 TensorCustomBinaryOp (const LhsXprType &lhs, const RhsXprType &rhs, const CustomBinaryFunc &func)
 

Protected Attributes

const CustomBinaryFunc m_func
 
LhsXprType::Nested m_lhs_xpr
 
RhsXprType::Nested m_rhs_xpr
 

Detailed Description

template<typename CustomBinaryFunc, typename LhsXprType, typename RhsXprType>
class Eigen::TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >

Tensor custom class.

Definition at line 214 of file TensorCustomOp.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType >
typedef internal::traits<TensorCustomBinaryOp>::CoeffReturnType Eigen::TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >::CoeffReturnType

Definition at line 219 of file TensorCustomOp.h.

◆ Index

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType >
typedef internal::traits<TensorCustomBinaryOp>::Index Eigen::TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >::Index

Definition at line 222 of file TensorCustomOp.h.

◆ Nested

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType >
typedef internal::nested<TensorCustomBinaryOp>::type Eigen::TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >::Nested

Definition at line 220 of file TensorCustomOp.h.

◆ RealScalar

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType >
typedef Eigen::NumTraits<Scalar>::Real Eigen::TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >::RealScalar

Definition at line 218 of file TensorCustomOp.h.

◆ Scalar

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType >
typedef internal::traits<TensorCustomBinaryOp>::Scalar Eigen::TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >::Scalar

Definition at line 217 of file TensorCustomOp.h.

◆ StorageKind

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType >
typedef internal::traits<TensorCustomBinaryOp>::StorageKind Eigen::TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >::StorageKind

Definition at line 221 of file TensorCustomOp.h.

Constructor & Destructor Documentation

◆ TensorCustomBinaryOp()

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType >
Eigen::TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >::TensorCustomBinaryOp ( const LhsXprType &  lhs,
const RhsXprType &  rhs,
const CustomBinaryFunc &  func 
)
inline

Definition at line 224 of file TensorCustomOp.h.

226  : m_lhs_xpr(lhs), m_rhs_xpr(rhs), m_func(func) {}
const CustomBinaryFunc m_func
LhsXprType::Nested m_lhs_xpr
RhsXprType::Nested m_rhs_xpr
const CustomBinaryFunc & func() const

Member Function Documentation

◆ func()

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType >
const CustomBinaryFunc& Eigen::TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >::func ( ) const
inline

Definition at line 229 of file TensorCustomOp.h.

229 { return m_func; }

◆ lhsExpression()

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType >
const internal::remove_all_t<typename LhsXprType::Nested>& Eigen::TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >::lhsExpression ( ) const
inline

Definition at line 233 of file TensorCustomOp.h.

233 { return m_lhs_xpr; }

◆ rhsExpression()

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

Definition at line 237 of file TensorCustomOp.h.

237 { return m_rhs_xpr; }

Member Data Documentation

◆ m_func

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType >
const CustomBinaryFunc Eigen::TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >::m_func
protected

Definition at line 242 of file TensorCustomOp.h.

◆ m_lhs_xpr

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType >
LhsXprType::Nested Eigen::TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >::m_lhs_xpr
protected

Definition at line 240 of file TensorCustomOp.h.

◆ m_rhs_xpr

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType >
RhsXprType::Nested Eigen::TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >::m_rhs_xpr
protected

Definition at line 241 of file TensorCustomOp.h.


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