Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > Class Template Reference

#include <TensorExpr.h>

+ Inheritance diagram for Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >:

Public Types

typedef Eigen::internal::traits< TensorCwiseTernaryOp >::Scalar Scalar
 
typedef Eigen::NumTraits< Scalar >::Real RealScalar
 
typedef Scalar CoeffReturnType
 
typedef Eigen::internal::nested< TensorCwiseTernaryOp >::type Nested
 
typedef Eigen::internal::traits< TensorCwiseTernaryOp >::StorageKind StorageKind
 
typedef Eigen::internal::traits< TensorCwiseTernaryOp >::Index Index
 
- Public Types inherited from Eigen::TensorBase< TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >, ReadOnlyAccessors >
typedef TensorBase< TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >, ReadOnlyAccessors > Base
 
typedef internal::traits< TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > DerivedTraits
 
typedef DerivedTraits::Scalar Scalar
 
typedef DerivedTraits::Index Index
 
typedef Scalar CoeffReturnType
 

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCwiseTernaryOp (const Arg1XprType &arg1, const Arg2XprType &arg2, const Arg3XprType &arg3, const TernaryOp &func=TernaryOp())
 
EIGEN_DEVICE_FUNC const TernaryOp & functor () const
 
EIGEN_DEVICE_FUNC const internal::remove_all_t< typename Arg1XprType::Nested > & arg1Expression () const
 
EIGEN_DEVICE_FUNC const internal::remove_all_t< typename Arg2XprType::Nested > & arg2Expression () const
 
EIGEN_DEVICE_FUNC const internal::remove_all_t< typename Arg3XprType::Nested > & arg3Expression () const
 
- Public Member Functions inherited from Eigen::TensorBase< TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >, ReadOnlyAccessors >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > & setZero ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > & setConstant (const Scalar &val)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > & setRandom ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > & setRandom ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > & setValues (const typename internal::Initializer< TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >, NumDimensions >::InitList &vals)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > & operator+= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > & operator-= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > & operator*= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > & operator/= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorLayoutSwapOp< const TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > swap_layout () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorLayoutSwapOp< TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > swap_layout ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorConcatenationOp< const Axis, const TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >, const OtherDerived > concatenate (const OtherDerived &other, const Axis &axis) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorConcatenationOp< const Axis, TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >, OtherDerived > concatenate (const OtherDerived &other, const Axis &axis)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReshapingOp< const NewDimensions, const TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > reshape (const NewDimensions &newDimensions) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReshapingOp< const NewDimensions, TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > reshape (const NewDimensions &newDimensions)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorSlicingOp< const StartIndices, const Sizes, const TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > slice (const StartIndices &startIndices, const Sizes &sizes) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorSlicingOp< const StartIndices, const Sizes, TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > slice (const StartIndices &startIndices, const Sizes &sizes)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, const TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< DimId, const TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > chip (const Index offset) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< DimId, TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > chip (const Index offset)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< Dynamic, const TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > chip (const Index offset, const Index dim) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< Dynamic, TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > chip (const Index offset, const Index dim)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReverseOp< const ReverseDimensions, const TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > reverse (const ReverseDimensions &rev) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReverseOp< const ReverseDimensions, TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > reverse (const ReverseDimensions &rev)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorRollOp< const Rolls, const TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > roll (const Rolls &roll) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRollOp< const Rolls, TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > roll (const Rolls &roll)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorShufflingOp< const Shuffle, const TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > shuffle (const Shuffle &shfl) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorShufflingOp< const Shuffle, TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > shuffle (const Shuffle &shfl)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingOp< const Strides, const TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > stride (const Strides &strides) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingOp< const Strides, TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > > stride (const Strides &strides)
 
TensorDevice< TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >, DeviceType > device (const DeviceType &dev)
 
TensorAsyncDevice< TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >, DeviceType, DoneCallback > device (const DeviceType &dev, DoneCallback done)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > & derived ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > & derived () const
 

Protected Attributes

Arg1XprType::Nested m_arg1_xpr
 
Arg2XprType::Nested m_arg2_xpr
 
Arg3XprType::Nested m_arg3_xpr
 
const TernaryOp m_functor
 

Additional Inherited Members

- Static Public Attributes inherited from Eigen::TensorBase< TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >, ReadOnlyAccessors >
static constexpr int NumDimensions
 
- Protected Member Functions inherited from Eigen::TensorBase< TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >, ReadOnlyAccessors >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType > & operator= (const OtherDerived &other)
 

Member Typedef Documentation

◆ CoeffReturnType

template<typename TernaryOp , typename Arg1XprType , typename Arg2XprType , typename Arg3XprType >
typedef Scalar Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >::CoeffReturnType

◆ Index

template<typename TernaryOp , typename Arg1XprType , typename Arg2XprType , typename Arg3XprType >
typedef Eigen::internal::traits<TensorCwiseTernaryOp>::Index Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >::Index

◆ Nested

template<typename TernaryOp , typename Arg1XprType , typename Arg2XprType , typename Arg3XprType >
typedef Eigen::internal::nested<TensorCwiseTernaryOp>::type Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >::Nested

◆ RealScalar

template<typename TernaryOp , typename Arg1XprType , typename Arg2XprType , typename Arg3XprType >
typedef Eigen::NumTraits<Scalar>::Real Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >::RealScalar

◆ Scalar

template<typename TernaryOp , typename Arg1XprType , typename Arg2XprType , typename Arg3XprType >
typedef Eigen::internal::traits<TensorCwiseTernaryOp>::Scalar Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >::Scalar

◆ StorageKind

template<typename TernaryOp , typename Arg1XprType , typename Arg2XprType , typename Arg3XprType >
typedef Eigen::internal::traits<TensorCwiseTernaryOp>::StorageKind Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >::StorageKind

Constructor & Destructor Documentation

◆ TensorCwiseTernaryOp()

template<typename TernaryOp , typename Arg1XprType , typename Arg2XprType , typename Arg3XprType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >::TensorCwiseTernaryOp ( const Arg1XprType &  arg1,
const Arg2XprType &  arg2,
const Arg3XprType &  arg3,
const TernaryOp &  func = TernaryOp() 
)
inline
245  : m_arg1_xpr(arg1), m_arg2_xpr(arg2), m_arg3_xpr(arg3), m_functor(func) {}
Arg3XprType::Nested m_arg3_xpr
Definition: TensorExpr.h:265
Arg2XprType::Nested m_arg2_xpr
Definition: TensorExpr.h:264
const TernaryOp m_functor
Definition: TensorExpr.h:266
Arg1XprType::Nested m_arg1_xpr
Definition: TensorExpr.h:263
Definition: benchGeometry.cpp:21

Member Function Documentation

◆ arg1Expression()

template<typename TernaryOp , typename Arg1XprType , typename Arg2XprType , typename Arg3XprType >
EIGEN_DEVICE_FUNC const internal::remove_all_t<typename Arg1XprType::Nested>& Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >::arg1Expression ( ) const
inline
Returns
the nested expressions
250  {
251  return m_arg1_xpr;
252  }

References Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >::m_arg1_xpr.

◆ arg2Expression()

template<typename TernaryOp , typename Arg1XprType , typename Arg2XprType , typename Arg3XprType >
EIGEN_DEVICE_FUNC const internal::remove_all_t<typename Arg2XprType::Nested>& Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >::arg2Expression ( ) const
inline

◆ arg3Expression()

template<typename TernaryOp , typename Arg1XprType , typename Arg2XprType , typename Arg3XprType >
EIGEN_DEVICE_FUNC const internal::remove_all_t<typename Arg3XprType::Nested>& Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >::arg3Expression ( ) const
inline

◆ functor()

template<typename TernaryOp , typename Arg1XprType , typename Arg2XprType , typename Arg3XprType >
EIGEN_DEVICE_FUNC const TernaryOp& Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >::functor ( ) const
inline

Member Data Documentation

◆ m_arg1_xpr

template<typename TernaryOp , typename Arg1XprType , typename Arg2XprType , typename Arg3XprType >
Arg1XprType::Nested Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >::m_arg1_xpr
protected

◆ m_arg2_xpr

template<typename TernaryOp , typename Arg1XprType , typename Arg2XprType , typename Arg3XprType >
Arg2XprType::Nested Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >::m_arg2_xpr
protected

◆ m_arg3_xpr

template<typename TernaryOp , typename Arg1XprType , typename Arg2XprType , typename Arg3XprType >
Arg3XprType::Nested Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >::m_arg3_xpr
protected

◆ m_functor

template<typename TernaryOp , typename Arg1XprType , typename Arg2XprType , typename Arg3XprType >
const TernaryOp Eigen::TensorCwiseTernaryOp< TernaryOp, Arg1XprType, Arg2XprType, Arg3XprType >::m_functor
protected

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