Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType > Class Template Reference

The fixed sized version of the tensor class. More...

#include <TensorFixedSize.h>

Inheritance diagram for Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >:
Inheritance graph
[legend]

Public Types

enum  {
  IsAligned = bool(EIGEN_MAX_ALIGN_BYTES>0), PacketAccess = (internal::packet_traits<Scalar>::size > 1), BlockAccess = false, PreferBlockAccess = false,
  Layout = Options_ & RowMajor ? RowMajor : ColMajor, CoordAccess = true, RawAccess = true
}
 
typedef TensorBase< TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType > > Base
 
typedef Base::CoeffReturnType CoeffReturnType
 
typedef Dimensions_ Dimensions
 
typedef internal::traits< Self >::Index Index
 
typedef Eigen::internal::nested< Self >::type Nested
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef Scalar_ Scalar
 
typedef TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType > Self
 
typedef internal::traits< Self >::StorageKind StorageKind
 
typedef internal::TensorBlockNotImplemented TensorBlock
 
- Public Types inherited from Eigen::TensorBase< TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType > >
typedef TensorBase< TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >, ReadOnlyAccessors > Base
 
typedef Scalar CoeffReturnType
 
typedef internal::traits< TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType > > DerivedTraits
 
typedef DerivedTraits::Index Index
 
typedef DerivedTraits::Scalar Scalar
 

Public Member Functions

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

Static Public Attributes

static const std::size_t NumIndices = Dimensions::count
 
static const int Options = Options_
 
- Static Public Attributes inherited from Eigen::TensorBase< TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType > >
static const int NumDimensions
 

Protected Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool checkIndexRange (const array< Index, NumIndices > &) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index linearizedIndex (const array< Index, NumIndices > &indices) const
 
- Protected Member Functions inherited from Eigen::TensorBase< TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType > >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType > & derived ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType > & derived () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType > & operator= (const OtherDerived &other)
 

Protected Attributes

TensorStorage< Scalar, Dimensions, Optionsm_storage
 

Detailed Description

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
class Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >

The fixed sized version of the tensor class.

The fixed sized equivalent of Eigen::Tensor<float, 3> t(3, 5, 7); is Eigen::TensorFixedSize<float, Sizes<3,5,7>> t;

Definition at line 27 of file TensorFixedSize.h.

Member Typedef Documentation

◆ Base

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
typedef TensorBase<TensorFixedSize<Scalar_, Dimensions_, Options_, IndexType> > Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::Base

Definition at line 31 of file TensorFixedSize.h.

◆ CoeffReturnType

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
typedef Base::CoeffReturnType Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::CoeffReturnType

Definition at line 37 of file TensorFixedSize.h.

◆ Dimensions

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
typedef Dimensions_ Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::Dimensions

Definition at line 55 of file TensorFixedSize.h.

◆ Index

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
typedef internal::traits<Self>::Index Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::Index

Definition at line 34 of file TensorFixedSize.h.

◆ Nested

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
typedef Eigen::internal::nested<Self>::type Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::Nested

Definition at line 32 of file TensorFixedSize.h.

◆ RealScalar

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
typedef NumTraits<Scalar>::Real Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::RealScalar

Definition at line 36 of file TensorFixedSize.h.

◆ Scalar

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
typedef Scalar_ Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::Scalar

Definition at line 35 of file TensorFixedSize.h.

◆ Self

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
typedef TensorFixedSize<Scalar_, Dimensions_, Options_, IndexType> Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::Self

Definition at line 30 of file TensorFixedSize.h.

◆ StorageKind

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
typedef internal::traits<Self>::StorageKind Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::StorageKind

Definition at line 33 of file TensorFixedSize.h.

◆ TensorBlock

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
typedef internal::TensorBlockNotImplemented Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::TensorBlock

Definition at line 52 of file TensorFixedSize.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
anonymous enum
Enumerator
IsAligned 
PacketAccess 
BlockAccess 
PreferBlockAccess 
Layout 
CoordAccess 
RawAccess 

Definition at line 41 of file TensorFixedSize.h.

Constructor & Destructor Documentation

◆ TensorFixedSize() [1/4]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::TensorFixedSize ( )
inline

Definition at line 308 of file TensorFixedSize.h.

◆ TensorFixedSize() [2/4]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::TensorFixedSize ( const Self other)
inline

Definition at line 314 of file TensorFixedSize.h.

◆ TensorFixedSize() [3/4]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::TensorFixedSize ( const TensorBase< OtherDerived, ReadOnlyAccessors > &  other)
inline

Definition at line 328 of file TensorFixedSize.h.

◆ TensorFixedSize() [4/4]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::TensorFixedSize ( const TensorBase< OtherDerived, WriteAccessors > &  other)
inline

Definition at line 336 of file TensorFixedSize.h.

Member Function Documentation

◆ base() [1/2]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
Self& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::base ( )
inline

Definition at line 72 of file TensorFixedSize.h.

◆ base() [2/2]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
const Self& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::base ( ) const
inline

Definition at line 73 of file TensorFixedSize.h.

◆ checkIndexRange()

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::checkIndexRange ( const array< Index, NumIndices > &  ) const
inlineprotected

Definition at line 350 of file TensorFixedSize.h.

◆ coeff() [1/3]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::coeff ( const array< Index, NumIndices > &  indices) const
inline

Definition at line 86 of file TensorFixedSize.h.

◆ coeff() [2/3]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::coeff ( Index  index) const
inline

Definition at line 93 of file TensorFixedSize.h.

◆ coeff() [3/3]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::coeff ( ) const
inline

Definition at line 100 of file TensorFixedSize.h.

◆ coeffRef() [1/3]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::coeffRef ( const array< Index, NumIndices > &  indices)
inline

Definition at line 118 of file TensorFixedSize.h.

◆ coeffRef() [2/3]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::coeffRef ( Index  index)
inline

Definition at line 125 of file TensorFixedSize.h.

◆ coeffRef() [3/3]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::coeffRef ( )
inline

Definition at line 132 of file TensorFixedSize.h.

◆ data() [1/2]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar* Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::data ( )
inline

Definition at line 66 of file TensorFixedSize.h.

◆ data() [2/2]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar* Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::data ( ) const
inline

Definition at line 67 of file TensorFixedSize.h.

◆ dimension()

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::dimension ( std::size_t  n) const
inline

Definition at line 63 of file TensorFixedSize.h.

◆ dimensions()

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::dimensions ( ) const
inline

Definition at line 64 of file TensorFixedSize.h.

◆ linearizedIndex()

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::linearizedIndex ( const array< Index, NumIndices > &  indices) const
inlineprotected

Definition at line 366 of file TensorFixedSize.h.

◆ operator()() [1/14]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::operator() ( Index  i0,
Index  i1 
) const
inline

Definition at line 148 of file TensorFixedSize.h.

◆ operator()() [2/14]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::operator() ( Index  i0,
Index  i1,
Index  i2 
) const
inline

Definition at line 159 of file TensorFixedSize.h.

◆ operator()() [3/14]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::operator() ( Index  i0,
Index  i1,
Index  i2,
Index  i3 
) const
inline

Definition at line 170 of file TensorFixedSize.h.

◆ operator()() [4/14]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::operator() ( Index  i0,
Index  i1,
Index  i2,
Index  i3,
Index  i4 
) const
inline

Definition at line 181 of file TensorFixedSize.h.

◆ operator()() [5/14]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::operator() ( const array< Index, NumIndices > &  indices) const
inline

Definition at line 195 of file TensorFixedSize.h.

◆ operator()() [6/14]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::operator() ( Index  index) const
inline

Definition at line 202 of file TensorFixedSize.h.

◆ operator()() [7/14]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::operator() ( ) const
inline

Definition at line 209 of file TensorFixedSize.h.

◆ operator()() [8/14]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::operator() ( Index  i0,
Index  i1 
)
inline

Definition at line 233 of file TensorFixedSize.h.

◆ operator()() [9/14]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::operator() ( Index  i0,
Index  i1,
Index  i2 
)
inline

Definition at line 244 of file TensorFixedSize.h.

◆ operator()() [10/14]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::operator() ( Index  i0,
Index  i1,
Index  i2,
Index  i3 
)
inline

Definition at line 255 of file TensorFixedSize.h.

◆ operator()() [11/14]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::operator() ( Index  i0,
Index  i1,
Index  i2,
Index  i3,
Index  i4 
)
inline

Definition at line 266 of file TensorFixedSize.h.

◆ operator()() [12/14]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::operator() ( const array< Index, NumIndices > &  indices)
inline

Definition at line 279 of file TensorFixedSize.h.

◆ operator()() [13/14]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::operator() ( Index  index)
inline

Definition at line 286 of file TensorFixedSize.h.

◆ operator()() [14/14]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::operator() ( )
inline

Definition at line 293 of file TensorFixedSize.h.

◆ operator[]() [1/2]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::operator[] ( Index  index) const
inline

Definition at line 216 of file TensorFixedSize.h.

◆ operator[]() [2/2]

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::operator[] ( Index  index)
inline

Definition at line 300 of file TensorFixedSize.h.

◆ rank()

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::rank ( ) const
inline

Definition at line 62 of file TensorFixedSize.h.

◆ size()

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::size ( ) const
inline

Definition at line 65 of file TensorFixedSize.h.

Member Data Documentation

◆ m_storage

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
TensorStorage<Scalar, Dimensions, Options> Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::m_storage
protected

Definition at line 59 of file TensorFixedSize.h.

◆ NumIndices

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
const std::size_t Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::NumIndices = Dimensions::count
static

Definition at line 56 of file TensorFixedSize.h.

◆ Options

template<typename Scalar_, typename Dimensions_, int Options_, typename IndexType>
const int Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::Options = Options_
static

Definition at line 39 of file TensorFixedSize.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:44:10