compbio
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 >:
Eigen::TensorBase< TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType > >

Public Types

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

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index rank () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index dimension (std::size_t n) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions & dimensions () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index size () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar * data ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar * data () const
 
Selfbase ()
 
const Selfbase () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar & coeff (const array< Index, NumIndices > &indices) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar & coeff (Index index) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar & coeff () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & coeffRef (const array< Index, NumIndices > &indices)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & coeffRef (Index index)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & coeffRef ()
 
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 const Scalar & operator() (const array< Index, NumIndices > &indices) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar & operator() (Index index) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar & operator() () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar & operator[] (Index index) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & operator() (Index i0, Index i1)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & operator() (Index i0, Index i1, Index i2)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & operator() (Index i0, Index i1, Index i2, Index i3)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & operator() (Index i0, Index i1, Index i2, Index i3, Index i4)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & operator() (const array< Index, NumIndices > &indices)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & operator() (Index index)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & operator() ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & operator[] (Index index)
 
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)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorFixedSizeoperator= (const TensorFixedSize &other)
 
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorFixedSizeoperator= (const OtherDerived &other)
 
- Public Member Functions inherited from Eigen::TensorBase< TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType > >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType > & setZero ()
 
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 > & 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 TensorLayoutSwapOp< const TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType > > swap_layout () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorLayoutSwapOp< TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType > > swap_layout ()
 
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)
 
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 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 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 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 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 const TensorShufflingOp< const Shuffle, const TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType > > shuffle (const Shuffle &shuffle) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorShufflingOp< const Shuffle, TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType > > shuffle (const Shuffle &shuffle)
 
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)
 
TensorDevice< TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >, DeviceType > device (const DeviceType &device)
 

Static Public Attributes

static const int Options = Options_
 
static const std::size_t NumIndices = Dimensions::count
 
- 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
 

Protected Attributes

TensorStorage< Scalar, Dimensions, Options > m_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, Size<3,5,7>> t;


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