TR-mbed 1.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
Eigen::TensorRef< PlainObjectType > Class Template Reference

A reference to a tensor expression The expression will be evaluated lazily (as much as possible). More...

#include <TensorRef.h>

Inheritance diagram for Eigen::TensorRef< PlainObjectType >:
Eigen::TensorBase< TensorRef< PlainObjectType > >

Public Types

enum  {
  IsAligned = false , PacketAccess = false , BlockAccess = false , PreferBlockAccess = false ,
  Layout = PlainObjectType::Layout , CoordAccess = false , RawAccess = false
}
 
typedef TensorRef< PlainObjectType > Self
 
typedef PlainObjectType::Base Base
 
typedef Eigen::internal::nested< Self >::type Nested
 
typedef internal::traits< PlainObjectType >::StorageKind StorageKind
 
typedef internal::traits< PlainObjectType >::Index Index
 
typedef internal::traits< PlainObjectType >::Scalar Scalar
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef Base::CoeffReturnType CoeffReturnType
 
typedef ScalarPointerType
 
typedef PointerType PointerArgType
 
typedef PlainObjectType::Dimensions Dimensions
 
typedef internal::TensorBlockNotImplemented TensorBlock
 
- Public Types inherited from Eigen::TensorBase< TensorRef< PlainObjectType > >
typedef TensorBase< TensorRef< PlainObjectType >, ReadOnlyAccessors > Base
 
typedef internal::traits< TensorRef< PlainObjectType > > DerivedTraits
 
typedef DerivedTraits::Scalar Scalar
 
typedef DerivedTraits::Index Index
 
typedef Scalar CoeffReturnType
 

Public Member Functions

EIGEN_STRONG_INLINE TensorRef ()
 
template<typename Expression >
EIGEN_STRONG_INLINE TensorRef (const Expression &expr)
 
template<typename Expression >
EIGEN_STRONG_INLINE TensorRefoperator= (const Expression &expr)
 
 ~TensorRef ()
 
 TensorRef (const TensorRef &other)
 
TensorRefoperator= (const TensorRef &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index rank () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index dimension (Index n) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensionsdimensions () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index size () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalardata () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (Index index) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (Index i0, Index i1) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (Index i0, Index i1, Index i2) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (Index i0, Index i1, Index i2, Index i3) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (Index i0, Index i1, Index i2, Index i3, Index i4) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ScalarcoeffRef (Index i0, Index i1)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ScalarcoeffRef (Index i0, Index i1, Index i2)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalaroperator() (Index i0, Index i1, Index i2, Index i3)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ScalarcoeffRef (Index i0, Index i1, Index i2, Index i3, Index i4)
 
template<std::size_t NumIndices>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar coeff (const array< Index, NumIndices > &indices) const
 
template<std::size_t NumIndices>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ScalarcoeffRef (const array< Index, NumIndices > &indices)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar coeff (Index index) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ScalarcoeffRef (Index index)
 
- Public Member Functions inherited from Eigen::TensorBase< TensorRef< PlainObjectType > >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & setZero ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & setConstant (const Scalar &val)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & setRandom ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & setRandom ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & operator+= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & operator-= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & operator*= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & operator/= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorLayoutSwapOp< const TensorRef< PlainObjectType > > swap_layout () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorLayoutSwapOp< TensorRef< PlainObjectType > > swap_layout ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorConcatenationOp< const Axis, const TensorRef< PlainObjectType >, const OtherDerived > concatenate (const OtherDerived &other, const Axis &axis) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorConcatenationOp< const Axis, TensorRef< PlainObjectType >, OtherDerived > concatenate (const OtherDerived &other, const Axis &axis)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReshapingOp< const NewDimensions, const TensorRef< PlainObjectType > > reshape (const NewDimensions &newDimensions) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReshapingOp< const NewDimensions, TensorRef< PlainObjectType > > reshape (const NewDimensions &newDimensions)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorSlicingOp< const StartIndices, const Sizes, const TensorRef< PlainObjectType > > slice (const StartIndices &startIndices, const Sizes &sizes) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorSlicingOp< const StartIndices, const Sizes, TensorRef< PlainObjectType > > slice (const StartIndices &startIndices, const Sizes &sizes)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, const TensorRef< PlainObjectType > > stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, TensorRef< PlainObjectType > > stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< DimId, const TensorRef< PlainObjectType > > chip (const Index offset) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< DimId, TensorRef< PlainObjectType > > chip (const Index offset)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< Dynamic, const TensorRef< PlainObjectType > > chip (const Index offset, const Index dim) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< Dynamic, TensorRef< PlainObjectType > > chip (const Index offset, const Index dim)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReverseOp< const ReverseDimensions, const TensorRef< PlainObjectType > > reverse (const ReverseDimensions &rev) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReverseOp< const ReverseDimensions, TensorRef< PlainObjectType > > reverse (const ReverseDimensions &rev)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorShufflingOp< const Shuffle, const TensorRef< PlainObjectType > > shuffle (const Shuffle &shfl) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorShufflingOp< const Shuffle, TensorRef< PlainObjectType > > shuffle (const Shuffle &shfl)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingOp< const Strides, const TensorRef< PlainObjectType > > stride (const Strides &strides) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingOp< const Strides, TensorRef< PlainObjectType > > stride (const Strides &strides)
 
TensorDevice< TensorRef< PlainObjectType >, DeviceType > device (const DeviceType &dev)
 
TensorAsyncDevice< TensorRef< PlainObjectType >, DeviceType, DoneCallback > device (const DeviceType &dev, DoneCallback done)
 

Static Public Attributes

static const Index NumIndices = PlainObjectType::NumIndices
 
- Static Public Attributes inherited from Eigen::TensorBase< TensorRef< PlainObjectType > >
static const int NumDimensions
 

Additional Inherited Members

- Protected Member Functions inherited from Eigen::TensorBase< TensorRef< PlainObjectType > >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & operator= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & derived ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorRef< PlainObjectType > & derived () const
 

Detailed Description

template<typename PlainObjectType>
class Eigen::TensorRef< PlainObjectType >

A reference to a tensor expression The expression will be evaluated lazily (as much as possible).

Member Typedef Documentation

◆ Base

template<typename PlainObjectType >
typedef PlainObjectType::Base Eigen::TensorRef< PlainObjectType >::Base

◆ CoeffReturnType

template<typename PlainObjectType >
typedef Base::CoeffReturnType Eigen::TensorRef< PlainObjectType >::CoeffReturnType

◆ Dimensions

template<typename PlainObjectType >
typedef PlainObjectType::Dimensions Eigen::TensorRef< PlainObjectType >::Dimensions

◆ Index

template<typename PlainObjectType >
typedef internal::traits<PlainObjectType>::Index Eigen::TensorRef< PlainObjectType >::Index

◆ Nested

template<typename PlainObjectType >
typedef Eigen::internal::nested<Self>::type Eigen::TensorRef< PlainObjectType >::Nested

◆ PointerArgType

template<typename PlainObjectType >
typedef PointerType Eigen::TensorRef< PlainObjectType >::PointerArgType

◆ PointerType

template<typename PlainObjectType >
typedef Scalar* Eigen::TensorRef< PlainObjectType >::PointerType

◆ RealScalar

template<typename PlainObjectType >
typedef NumTraits<Scalar>::Real Eigen::TensorRef< PlainObjectType >::RealScalar

◆ Scalar

template<typename PlainObjectType >
typedef internal::traits<PlainObjectType>::Scalar Eigen::TensorRef< PlainObjectType >::Scalar

◆ Self

template<typename PlainObjectType >
typedef TensorRef<PlainObjectType> Eigen::TensorRef< PlainObjectType >::Self

◆ StorageKind

template<typename PlainObjectType >
typedef internal::traits<PlainObjectType>::StorageKind Eigen::TensorRef< PlainObjectType >::StorageKind

◆ TensorBlock

template<typename PlainObjectType >
typedef internal::TensorBlockNotImplemented Eigen::TensorRef< PlainObjectType >::TensorBlock

Member Enumeration Documentation

◆ anonymous enum

template<typename PlainObjectType >
anonymous enum
Enumerator
IsAligned 
PacketAccess 
BlockAccess 
PreferBlockAccess 
Layout 
CoordAccess 
RawAccess 

Constructor & Destructor Documentation

◆ TensorRef() [1/3]

template<typename PlainObjectType >
EIGEN_STRONG_INLINE Eigen::TensorRef< PlainObjectType >::TensorRef ( )
inline

◆ TensorRef() [2/3]

template<typename PlainObjectType >
template<typename Expression >
EIGEN_STRONG_INLINE Eigen::TensorRef< PlainObjectType >::TensorRef ( const Expression &  expr)
inline

◆ ~TensorRef()

template<typename PlainObjectType >
Eigen::TensorRef< PlainObjectType >::~TensorRef ( )
inline

◆ TensorRef() [3/3]

template<typename PlainObjectType >
Eigen::TensorRef< PlainObjectType >::TensorRef ( const TensorRef< PlainObjectType > &  other)
inline

Member Function Documentation

◆ coeff() [1/2]

template<typename PlainObjectType >
template<std::size_t NumIndices>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::TensorRef< PlainObjectType >::coeff ( const array< Index, NumIndices > &  indices) const
inline

◆ coeff() [2/2]

template<typename PlainObjectType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::TensorRef< PlainObjectType >::coeff ( Index  index) const
inline

◆ coeffRef() [1/5]

template<typename PlainObjectType >
template<std::size_t NumIndices>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & Eigen::TensorRef< PlainObjectType >::coeffRef ( const array< Index, NumIndices > &  indices)
inline

◆ coeffRef() [2/5]

template<typename PlainObjectType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & Eigen::TensorRef< PlainObjectType >::coeffRef ( Index  i0,
Index  i1 
)
inline

◆ coeffRef() [3/5]

template<typename PlainObjectType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & Eigen::TensorRef< PlainObjectType >::coeffRef ( Index  i0,
Index  i1,
Index  i2 
)
inline

◆ coeffRef() [4/5]

template<typename PlainObjectType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & Eigen::TensorRef< PlainObjectType >::coeffRef ( Index  i0,
Index  i1,
Index  i2,
Index  i3,
Index  i4 
)
inline

◆ coeffRef() [5/5]

template<typename PlainObjectType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & Eigen::TensorRef< PlainObjectType >::coeffRef ( Index  index)
inline

◆ data()

template<typename PlainObjectType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar * Eigen::TensorRef< PlainObjectType >::data ( ) const
inline

◆ dimension()

template<typename PlainObjectType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index Eigen::TensorRef< PlainObjectType >::dimension ( Index  n) const
inline

◆ dimensions()

template<typename PlainObjectType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions & Eigen::TensorRef< PlainObjectType >::dimensions ( ) const
inline

◆ operator()() [1/6]

template<typename PlainObjectType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::TensorRef< PlainObjectType >::operator() ( Index  i0,
Index  i1 
) const
inline

◆ operator()() [2/6]

template<typename PlainObjectType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::TensorRef< PlainObjectType >::operator() ( Index  i0,
Index  i1,
Index  i2 
) const
inline

◆ operator()() [3/6]

template<typename PlainObjectType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & Eigen::TensorRef< PlainObjectType >::operator() ( Index  i0,
Index  i1,
Index  i2,
Index  i3 
)
inline

◆ operator()() [4/6]

template<typename PlainObjectType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::TensorRef< PlainObjectType >::operator() ( Index  i0,
Index  i1,
Index  i2,
Index  i3 
) const
inline

◆ operator()() [5/6]

template<typename PlainObjectType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::TensorRef< PlainObjectType >::operator() ( Index  i0,
Index  i1,
Index  i2,
Index  i3,
Index  i4 
) const
inline

◆ operator()() [6/6]

template<typename PlainObjectType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::TensorRef< PlainObjectType >::operator() ( Index  index) const
inline

◆ operator=() [1/2]

template<typename PlainObjectType >
template<typename Expression >
EIGEN_STRONG_INLINE TensorRef & Eigen::TensorRef< PlainObjectType >::operator= ( const Expression &  expr)
inline

◆ operator=() [2/2]

template<typename PlainObjectType >
TensorRef & Eigen::TensorRef< PlainObjectType >::operator= ( const TensorRef< PlainObjectType > &  other)
inline

◆ rank()

template<typename PlainObjectType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index Eigen::TensorRef< PlainObjectType >::rank ( ) const
inline

◆ size()

template<typename PlainObjectType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index Eigen::TensorRef< PlainObjectType >::size ( ) const
inline

Member Data Documentation

◆ NumIndices

template<typename PlainObjectType >
const Index Eigen::TensorRef< PlainObjectType >::NumIndices = PlainObjectType::NumIndices
static

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