Public Types | Public Member Functions | Protected Attributes | List of all members
Eigen::TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > Class Template Reference

Tensor custom class. More...

#include <TensorCustomOp.h>

Inheritance diagram for Eigen::TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >:
Inheritance graph
[legend]

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 Types inherited from Eigen::TensorBase< TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, ReadOnlyAccessors >
typedef TensorBase< TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, ReadOnlyAccessors > Base
 
typedef Scalar CoeffReturnType
 
typedef internal::traits< TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > DerivedTraits
 
typedef DerivedTraits::Index Index
 
typedef DerivedTraits::Scalar Scalar
 

Public Member Functions

const EIGEN_DEVICE_FUNC CustomBinaryFunc & func () const
 
const EIGEN_DEVICE_FUNC internal::remove_all< typename LhsXprType::Nested >::typelhsExpression () const
 
const EIGEN_DEVICE_FUNC internal::remove_all< typename RhsXprType::Nested >::typerhsExpression () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCustomBinaryOp (const LhsXprType &lhs, const RhsXprType &rhs, const CustomBinaryFunc &func)
 
- Public Member Functions inherited from Eigen::TensorBase< TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, ReadOnlyAccessors >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< DimId, TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > chip (const Index offset)
 
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE TensorChippingOp< DimId, const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > chip (const Index offset) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< Dynamic, TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > chip (const Index offset, const Index dim)
 
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE TensorChippingOp< Dynamic, const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > chip (const Index offset, const Index dim) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorConcatenationOp< const Axis, TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, OtherDerived > concatenate (const OtherDerived &other, const Axis &axis)
 
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE TensorConcatenationOp< const Axis, const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, const OtherDerived > concatenate (const OtherDerived &other, const Axis &axis) const
 
TensorDevice< TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, DeviceType > device (const DeviceType &dev)
 
TensorAsyncDevice< TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, DeviceType, DoneCallback > device (const DeviceType &dev, DoneCallback done)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > & operator*= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > & operator+= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > & operator-= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > & operator/= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReshapingOp< const NewDimensions, TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > reshape (const NewDimensions &newDimensions)
 
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE TensorReshapingOp< const NewDimensions, const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > reshape (const NewDimensions &newDimensions) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReverseOp< const ReverseDimensions, TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > reverse (const ReverseDimensions &rev)
 
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE TensorReverseOp< const ReverseDimensions, const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > reverse (const ReverseDimensions &rev) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > & setConstant (const Scalar &val)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > & setRandom ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > & setRandom ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > & setZero ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorShufflingOp< const Shuffle, TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > shuffle (const Shuffle &shfl)
 
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE TensorShufflingOp< const Shuffle, const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > shuffle (const Shuffle &shfl) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorSlicingOp< const StartIndices, const Sizes, TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > slice (const StartIndices &startIndices, const Sizes &sizes)
 
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE TensorSlicingOp< const StartIndices, const Sizes, const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > slice (const StartIndices &startIndices, const Sizes &sizes) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingOp< const Strides, TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > stride (const Strides &strides)
 
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE TensorStridingOp< const Strides, const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > stride (const Strides &strides) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides)
 
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorLayoutSwapOp< TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > swap_layout ()
 
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE TensorLayoutSwapOp< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > swap_layout () const
 

Protected Attributes

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

Additional Inherited Members

- Static Public Attributes inherited from Eigen::TensorBase< TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, ReadOnlyAccessors >
static const int NumDimensions
 
- Protected Member Functions inherited from Eigen::TensorBase< TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, ReadOnlyAccessors >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > & derived ()
 
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > & derived () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > & operator= (const OtherDerived &other)
 

Detailed Description

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

Tensor custom class.

Definition at line 219 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 224 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 227 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 225 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 223 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 222 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 226 of file TensorCustomOp.h.

Constructor & Destructor Documentation

◆ TensorCustomBinaryOp()

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

Definition at line 229 of file TensorCustomOp.h.

Member Function Documentation

◆ func()

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

Definition at line 234 of file TensorCustomOp.h.

◆ lhsExpression()

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

Definition at line 238 of file TensorCustomOp.h.

◆ rhsExpression()

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

Definition at line 242 of file TensorCustomOp.h.

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 247 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 245 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 246 of file TensorCustomOp.h.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:12:25