Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ > Class Template Reference

The tensor class. More...

#include <Tensor.h>

Inheritance diagram for Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >:
Inheritance graph
[legend]

Public Types

enum  { IsAligned = bool(EIGEN_MAX_ALIGN_BYTES>0) & !(Options_&DontAlign), Layout = Options_ & RowMajor ? RowMajor : ColMajor, CoordAccess = true, RawAccess = true }
 
typedef TensorBase< Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > Base
 
typedef Base::CoeffReturnType CoeffReturnType
 
typedef DSizes< Index, NumIndices_ > Dimensions
 
typedef internal::traits< Self >::Index Index
 
typedef Eigen::internal::nested< Self >::type Nested
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef Scalar_ Scalar
 
typedef Tensor< Scalar_, NumIndices_, Options_, IndexType_ > Self
 
typedef internal::traits< Self >::StorageKind StorageKind
 
- Public Types inherited from Eigen::TensorBase< Tensor< Scalar_, NumIndices_, Options_, IndexType_ > >
typedef Scalar CoeffReturnType
 
typedef internal::traits< Tensor< Scalar_, NumIndices_, 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 () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalarcoeff (Index index) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ScalarcoeffRef (const array< Index, NumIndices > &indices)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ScalarcoeffRef ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ScalarcoeffRef (Index index)
 
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 Tensoroperator= (const Tensor &other)
 
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensoroperator= (const OtherDerived &other)
 
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 void resize (const array< Index, NumIndices > &dimensions)
 
EIGEN_DEVICE_FUNC void resize (const DSizes< Index, NumIndices > &dimensions)
 
EIGEN_DEVICE_FUNC void resize ()
 
template<typename std::ptrdiff_t... Indices>
EIGEN_DEVICE_FUNC void resize (const Sizes< Indices... > &dimensions)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index size () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor (const Self &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor (Index dim1)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor (Index dim1, Index dim2)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor (Index dim1, Index dim2, Index dim3)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor (Index dim1, Index dim2, Index dim3, Index dim4)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor (Index dim1, Index dim2, Index dim3, Index dim4, Index dim5)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor (const array< Index, NumIndices > &dimensions)
 
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor (const TensorBase< OtherDerived, ReadOnlyAccessors > &other)
 
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor (const TensorBase< OtherDerived, WriteAccessors > &other)
 
- Public Member Functions inherited from Eigen::TensorBase< Tensor< Scalar_, NumIndices_, Options_, IndexType_ > >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< DimId, const Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > chip (const Index offset) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< DimId, Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > chip (const Index offset)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< Dynamic, const Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > chip (const Index offset, const Index dim) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< Dynamic, Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > chip (const Index offset, const Index dim)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorConcatenationOp< const Axis, const Tensor< Scalar_, NumIndices_, Options_, IndexType_ >, const OtherDerived > concatenate (const OtherDerived &other, const Axis &axis) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorConcatenationOp< const Axis, Tensor< Scalar_, NumIndices_, Options_, IndexType_ >, OtherDerived > concatenate (const OtherDerived &other, const Axis &axis)
 
TensorDevice< Tensor< Scalar_, NumIndices_, Options_, IndexType_ >, DeviceType > device (const DeviceType &device)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor< Scalar_, NumIndices_, Options_, IndexType_ > & operator*= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor< Scalar_, NumIndices_, Options_, IndexType_ > & operator+= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor< Scalar_, NumIndices_, Options_, IndexType_ > & operator-= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor< Scalar_, NumIndices_, Options_, IndexType_ > & operator/= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReshapingOp< const NewDimensions, const Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > reshape (const NewDimensions &newDimensions) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReshapingOp< const NewDimensions, Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > reshape (const NewDimensions &newDimensions)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReverseOp< const ReverseDimensions, const Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > reverse (const ReverseDimensions &rev) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReverseOp< const ReverseDimensions, Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > reverse (const ReverseDimensions &rev)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor< Scalar_, NumIndices_, Options_, IndexType_ > & setConstant (const Scalar &val)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor< Scalar_, NumIndices_, Options_, IndexType_ > & setRandom ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor< Scalar_, NumIndices_, Options_, IndexType_ > & setRandom ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor< Scalar_, NumIndices_, Options_, IndexType_ > & setZero ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorShufflingOp< const Shuffle, const Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > shuffle (const Shuffle &shuffle) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorShufflingOp< const Shuffle, Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > shuffle (const Shuffle &shuffle)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorSlicingOp< const StartIndices, const Sizes, const Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > slice (const StartIndices &startIndices, const Sizes &sizes) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorSlicingOp< const StartIndices, const Sizes, Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > slice (const StartIndices &startIndices, const Sizes &sizes)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingOp< const Strides, const Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > stride (const Strides &strides) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingOp< const Strides, Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > stride (const Strides &strides)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, const Tensor< Scalar_, NumIndices_, 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, Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorLayoutSwapOp< const Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > swap_layout () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorLayoutSwapOp< Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > swap_layout ()
 

Static Public Attributes

static const int NumIndices = NumIndices_
 
static const int Options = Options_
 
- Static Public Attributes inherited from Eigen::TensorBase< Tensor< Scalar_, NumIndices_, Options_, IndexType_ > >
static const int NumDimensions
 

Protected Member Functions

bool checkIndexRange (const array< Index, NumIndices > &indices) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index linearizedIndex (const array< Index, NumIndices > &indices) const
 
- Protected Member Functions inherited from Eigen::TensorBase< Tensor< Scalar_, NumIndices_, Options_, IndexType_ > >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor< Scalar_, NumIndices_, Options_, IndexType_ > & derived ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Tensor< Scalar_, NumIndices_, Options_, IndexType_ > & derived () const
 

Protected Attributes

TensorStorage< Scalar, Dimensions, Optionsm_storage
 

Detailed Description

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
class Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >

The tensor class.

The Tensor class is the work-horse for all dense tensors within Eigen.

The Tensor class encompasses only dynamic-size objects so far.

The first two template parameters are required:

Template Parameters
Scalar_

Definition at line 63 of file Tensor.h.

Member Typedef Documentation

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
typedef TensorBase<Tensor<Scalar_, NumIndices_, Options_, IndexType_> > Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::Base

Definition at line 67 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
typedef Base::CoeffReturnType Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::CoeffReturnType

Definition at line 73 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
typedef DSizes<Index, NumIndices_> Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::Dimensions

Definition at line 84 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
typedef internal::traits<Self>::Index Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::Index

Definition at line 70 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
typedef Eigen::internal::nested<Self>::type Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::Nested

Definition at line 68 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
typedef NumTraits<Scalar>::Real Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::RealScalar

Definition at line 72 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
typedef Scalar_ Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::Scalar

Definition at line 71 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
typedef Tensor<Scalar_, NumIndices_, Options_, IndexType_> Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::Self

Definition at line 66 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
typedef internal::traits<Self>::StorageKind Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::StorageKind

Definition at line 69 of file Tensor.h.

Member Enumeration Documentation

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
anonymous enum
Enumerator
IsAligned 
Layout 
CoordAccess 
RawAccess 

Definition at line 75 of file Tensor.h.

Constructor & Destructor Documentation

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::Tensor ( )
inline

Definition at line 328 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::Tensor ( const Self other)
inline

Definition at line 334 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::Tensor ( Index  dim1)
inlineexplicit

Definition at line 348 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::Tensor ( Index  dim1,
Index  dim2 
)
inline

Definition at line 353 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::Tensor ( Index  dim1,
Index  dim2,
Index  dim3 
)
inline

Definition at line 358 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::Tensor ( Index  dim1,
Index  dim2,
Index  dim3,
Index  dim4 
)
inline

Definition at line 363 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::Tensor ( Index  dim1,
Index  dim2,
Index  dim3,
Index  dim4,
Index  dim5 
)
inline

Definition at line 368 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::Tensor ( const array< Index, NumIndices > &  dimensions)
inlineexplicit

Normal Dimension

Definition at line 376 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::Tensor ( const TensorBase< OtherDerived, ReadOnlyAccessors > &  other)
inline

Definition at line 384 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::Tensor ( const TensorBase< OtherDerived, WriteAccessors > &  other)
inline

Definition at line 393 of file Tensor.h.

Member Function Documentation

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
Self& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::base ( )
inline

Definition at line 110 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
const Self& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::base ( ) const
inline

Definition at line 111 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
bool Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::checkIndexRange ( const array< Index, NumIndices > &  indices) const
inlineprotected

Definition at line 500 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::coeff ( const array< Index, NumIndices > &  indices) const
inline

Definition at line 124 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::coeff ( ) const
inline

Definition at line 141 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::coeff ( Index  index) const
inline

Definition at line 147 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::coeffRef ( const array< Index, NumIndices > &  indices)
inline

Definition at line 164 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::coeffRef ( )
inline

Definition at line 181 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::coeffRef ( Index  index)
inline

Definition at line 187 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar* Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data ( )
inline

Definition at line 104 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar* Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data ( ) const
inline

Definition at line 105 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimension ( std::size_t  n) const
inline

Definition at line 101 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimensions ( ) const
inline

Definition at line 102 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::linearizedIndex ( const array< Index, NumIndices > &  indices) const
inlineprotected

Definition at line 515 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::operator() ( Index  i0,
Index  i1 
) const
inline

Definition at line 203 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::operator() ( Index  i0,
Index  i1,
Index  i2 
) const
inline

Definition at line 208 of file Tensor.h.

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

Definition at line 213 of file Tensor.h.

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

Definition at line 218 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::operator() ( const array< Index, NumIndices > &  indices) const
inline

Definition at line 236 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::operator() ( Index  index) const
inline

Definition at line 241 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::operator() ( ) const
inline

Definition at line 247 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::operator() ( Index  i0,
Index  i1 
)
inline

Definition at line 270 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::operator() ( Index  i0,
Index  i1,
Index  i2 
)
inline

Definition at line 275 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::operator() ( Index  i0,
Index  i1,
Index  i2,
Index  i3 
)
inline

Definition at line 280 of file Tensor.h.

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

Definition at line 285 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::operator() ( const array< Index, NumIndices > &  indices)
inline

Definition at line 292 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::operator() ( Index  index)
inline

Definition at line 308 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::operator() ( )
inline

Definition at line 314 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::operator= ( const Tensor< Scalar_, NumIndices_, Options_, IndexType_ > &  other)
inline

Definition at line 402 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::operator= ( const OtherDerived &  other)
inline

Definition at line 412 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::operator[] ( Index  index) const
inline

Definition at line 253 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::operator[] ( Index  index)
inline

Definition at line 320 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::rank ( ) const
inline

Definition at line 100 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC void Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::resize ( const array< Index, NumIndices > &  dimensions)
inline

Normal Dimension

Definition at line 432 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC void Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::resize ( const DSizes< Index, NumIndices > &  dimensions)
inline

Definition at line 450 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC void Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::resize ( )
inline

Definition at line 459 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
template<typename std::ptrdiff_t... Indices>
EIGEN_DEVICE_FUNC void Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::resize ( const Sizes< Indices... > &  dimensions)
inline

Custom Dimension

Definition at line 479 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::size ( ) const
inline

Definition at line 103 of file Tensor.h.

Member Data Documentation

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
TensorStorage<Scalar, Dimensions, Options> Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::m_storage
protected

Definition at line 87 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
const int Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::NumIndices = NumIndices_
static

Definition at line 83 of file Tensor.h.

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType_>
const int Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::Options = Options_
static

Definition at line 82 of file Tensor.h.


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


hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:10:22