compbio
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 >:
Eigen::TensorBase< TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, ReadOnlyAccessors >

Public Types

typedef internal::traits< TensorCustomBinaryOp >::Scalar Scalar
 
typedef Eigen::NumTraits< Scalar >::Real RealScalar
 
typedef internal::traits< TensorCustomBinaryOp >::CoeffReturnType CoeffReturnType
 
typedef internal::nested< TensorCustomBinaryOp >::type Nested
 
typedef internal::traits< TensorCustomBinaryOp >::StorageKind StorageKind
 
typedef internal::traits< TensorCustomBinaryOp >::Index Index
 
- Public Types inherited from Eigen::TensorBase< TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, ReadOnlyAccessors >
typedef internal::traits< TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > DerivedTraits
 
typedef DerivedTraits::Scalar Scalar
 
typedef DerivedTraits::Index Index
 
typedef Scalar CoeffReturnType
 

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCustomBinaryOp (const LhsXprType &lhs, const RhsXprType &rhs, const CustomBinaryFunc &func)
 
EIGEN_DEVICE_FUNC const CustomBinaryFunc & func () const
 
EIGEN_DEVICE_FUNC const internal::remove_all< typename LhsXprType::Nested >::type & lhsExpression () const
 
EIGEN_DEVICE_FUNC const internal::remove_all< typename RhsXprType::Nested >::type & rhsExpression () const
 
- Public Member Functions inherited from Eigen::TensorBase< TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, ReadOnlyAccessors >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > & setZero ()
 
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 > & 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 const TensorLayoutSwapOp< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > swap_layout () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorLayoutSwapOp< TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > swap_layout ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorConcatenationOp< const Axis, const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, const OtherDerived > concatenate (const OtherDerived &other, const Axis &axis) 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 EIGEN_STRONG_INLINE const TensorReshapingOp< const NewDimensions, const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > reshape (const NewDimensions &newDimensions) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReshapingOp< const NewDimensions, TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > reshape (const NewDimensions &newDimensions)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorSlicingOp< const StartIndices, const Sizes, const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > slice (const StartIndices &startIndices, const Sizes &sizes) 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 EIGEN_STRONG_INLINE const 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 TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< DimId, const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > chip (const Index offset) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< DimId, TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > chip (const Index offset)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< Dynamic, const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > chip (const Index offset, const Index dim) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< Dynamic, TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > chip (const Index offset, const Index dim)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReverseOp< const ReverseDimensions, const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > reverse (const ReverseDimensions &rev) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReverseOp< const ReverseDimensions, TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > reverse (const ReverseDimensions &rev)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorShufflingOp< const Shuffle, const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > shuffle (const Shuffle &shuffle) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorShufflingOp< const Shuffle, TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > shuffle (const Shuffle &shuffle)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingOp< const Strides, const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > stride (const Strides &strides) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingOp< const Strides, TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > > stride (const Strides &strides)
 
TensorDevice< TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, DeviceType > device (const DeviceType &device)
 

Protected Attributes

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

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 EIGEN_STRONG_INLINE const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType > & derived () const
 

Detailed Description

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

Tensor custom class.


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