Public Types | Public Member Functions | Protected Attributes | List of all members
Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType > Class Template Reference

Tensor custom class. More...

#include <TensorCustomOp.h>

Inheritance diagram for Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >:
Inheritance graph
[legend]

Public Types

typedef XprType::CoeffReturnType CoeffReturnType
 
typedef internal::traits< TensorCustomUnaryOp >::Index Index
 
typedef internal::nested< TensorCustomUnaryOp >::type Nested
 
typedef Eigen::NumTraits< Scalar >::Real RealScalar
 
typedef internal::traits< TensorCustomUnaryOp >::Scalar Scalar
 
typedef internal::traits< TensorCustomUnaryOp >::StorageKind StorageKind
 
- Public Types inherited from Eigen::TensorBase< TensorCustomUnaryOp< CustomUnaryFunc, XprType >, ReadOnlyAccessors >
typedef TensorBase< TensorCustomUnaryOp< CustomUnaryFunc, XprType >, ReadOnlyAccessors > Base
 
typedef Scalar CoeffReturnType
 
typedef internal::traits< TensorCustomUnaryOp< CustomUnaryFunc, XprType > > DerivedTraits
 
typedef DerivedTraits::Index Index
 
typedef DerivedTraits::Scalar Scalar
 

Public Member Functions

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

Protected Attributes

XprType::Nested m_expr
 
const CustomUnaryFunc m_func
 

Additional Inherited Members

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

Detailed Description

template<typename CustomUnaryFunc, typename XprType>
class Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >

Tensor custom class.

Definition at line 53 of file TensorCustomOp.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename CustomUnaryFunc , typename XprType >
typedef XprType::CoeffReturnType Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::CoeffReturnType

Definition at line 58 of file TensorCustomOp.h.

◆ Index

template<typename CustomUnaryFunc , typename XprType >
typedef internal::traits<TensorCustomUnaryOp>::Index Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::Index

Definition at line 61 of file TensorCustomOp.h.

◆ Nested

template<typename CustomUnaryFunc , typename XprType >
typedef internal::nested<TensorCustomUnaryOp>::type Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::Nested

Definition at line 59 of file TensorCustomOp.h.

◆ RealScalar

template<typename CustomUnaryFunc , typename XprType >
typedef Eigen::NumTraits<Scalar>::Real Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::RealScalar

Definition at line 57 of file TensorCustomOp.h.

◆ Scalar

template<typename CustomUnaryFunc , typename XprType >
typedef internal::traits<TensorCustomUnaryOp>::Scalar Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::Scalar

Definition at line 56 of file TensorCustomOp.h.

◆ StorageKind

template<typename CustomUnaryFunc , typename XprType >
typedef internal::traits<TensorCustomUnaryOp>::StorageKind Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::StorageKind

Definition at line 60 of file TensorCustomOp.h.

Constructor & Destructor Documentation

◆ TensorCustomUnaryOp()

template<typename CustomUnaryFunc , typename XprType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::TensorCustomUnaryOp ( const XprType expr,
const CustomUnaryFunc &  func 
)
inline

Definition at line 63 of file TensorCustomOp.h.

Member Function Documentation

◆ expression()

template<typename CustomUnaryFunc , typename XprType >
const EIGEN_DEVICE_FUNC internal::remove_all<typename XprType::Nested>::type& Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::expression ( ) const
inline

Definition at line 71 of file TensorCustomOp.h.

◆ func()

template<typename CustomUnaryFunc , typename XprType >
const EIGEN_DEVICE_FUNC CustomUnaryFunc& Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::func ( ) const
inline

Definition at line 67 of file TensorCustomOp.h.

Member Data Documentation

◆ m_expr

template<typename CustomUnaryFunc , typename XprType >
XprType::Nested Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::m_expr
protected

Definition at line 74 of file TensorCustomOp.h.

◆ m_func

template<typename CustomUnaryFunc , typename XprType >
const CustomUnaryFunc Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::m_func
protected

Definition at line 75 of file TensorCustomOp.h.


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


gtsam
Author(s):
autogenerated on Wed May 15 2024 15:29:41