The fixed sized version of the tensor class. More...
Public Types | |
enum | { IsAligned , PacketAccess , BlockAccess , PreferBlockAccess , CoordAccess , RawAccess } |
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 Member Functions | |
Self & | base () |
const Self & | base () const |
const Scalar & | coeff () const |
const Scalar & | coeff (const array< Index, NumIndices > &indices) const |
template<typename... IndexTypes> | |
const Scalar & | coeff (Index firstIndex, IndexTypes... otherIndices) const |
const Scalar & | coeff (Index index) const |
Scalar & | coeffRef () |
Scalar & | coeffRef (const array< Index, NumIndices > &indices) |
template<typename... IndexTypes> | |
Scalar & | coeffRef (Index firstIndex, IndexTypes... otherIndices) |
Scalar & | coeffRef (Index index) |
Scalar * | data () |
const Scalar * | data () const |
Index | dimension (std::size_t n) const |
const Dimensions | dimensions () const |
Scalar & | operator() () |
const Scalar & | operator() () const |
Scalar & | operator() (const array< Index, NumIndices > &indices) |
const Scalar & | operator() (const array< Index, NumIndices > &indices) const |
template<typename... IndexTypes> | |
Scalar & | operator() (Index firstIndex, IndexTypes... otherIndices) |
template<typename... IndexTypes> | |
const Scalar & | operator() (Index firstIndex, IndexTypes... otherIndices) const |
Scalar & | operator() (Index index) |
const Scalar & | operator() (Index index) const |
Scalar & | operator[] (Index index) |
const Scalar & | operator[] (Index index) const |
Index | rank () const |
Index | size () const |
TensorFixedSize () | |
TensorFixedSize (const Self &other) | |
template<typename OtherDerived > | |
TensorFixedSize (const TensorBase< OtherDerived, ReadOnlyAccessors > &other) | |
template<typename OtherDerived > | |
TensorFixedSize (const TensorBase< OtherDerived, WriteAccessors > &other) | |
TensorFixedSize (Self &&other) | |
Static Public Attributes | |
static constexpr int | Layout |
static constexpr std::size_t | NumIndices |
static constexpr int | Options |
Protected Member Functions | |
bool | checkIndexRange (const array< Index, NumIndices > &) const |
Index | linearizedIndex (const array< Index, NumIndices > &indices) const |
Protected Attributes | |
TensorStorage< Scalar, Dimensions, Options > | m_storage |
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 29 of file TensorFixedSize.h.
typedef TensorBase<TensorFixedSize<Scalar_, Dimensions_, Options_, IndexType> > Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::Base |
Definition at line 33 of file TensorFixedSize.h.
typedef Base::CoeffReturnType Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::CoeffReturnType |
Definition at line 39 of file TensorFixedSize.h.
typedef Dimensions_ Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::Dimensions |
Definition at line 57 of file TensorFixedSize.h.
typedef internal::traits<Self>::Index Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::Index |
Definition at line 36 of file TensorFixedSize.h.
typedef Eigen::internal::nested<Self>::type Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::Nested |
Definition at line 34 of file TensorFixedSize.h.
typedef NumTraits<Scalar>::Real Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::RealScalar |
Definition at line 38 of file TensorFixedSize.h.
typedef Scalar_ Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::Scalar |
Definition at line 37 of file TensorFixedSize.h.
typedef TensorFixedSize<Scalar_, Dimensions_, Options_, IndexType> Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::Self |
Definition at line 32 of file TensorFixedSize.h.
typedef internal::traits<Self>::StorageKind Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::StorageKind |
Definition at line 35 of file TensorFixedSize.h.
typedef internal::TensorBlockNotImplemented Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::TensorBlock |
Definition at line 54 of file TensorFixedSize.h.
anonymous enum |
Enumerator | |
---|---|
IsAligned | |
PacketAccess | |
BlockAccess | |
PreferBlockAccess | |
CoordAccess | |
RawAccess |
Definition at line 44 of file TensorFixedSize.h.
|
inline |
Definition at line 211 of file TensorFixedSize.h.
|
inline |
Definition at line 217 of file TensorFixedSize.h.
|
inline |
Definition at line 222 of file TensorFixedSize.h.
|
inline |
Definition at line 229 of file TensorFixedSize.h.
|
inline |
Definition at line 237 of file TensorFixedSize.h.
|
inline |
Definition at line 74 of file TensorFixedSize.h.
|
inline |
Definition at line 75 of file TensorFixedSize.h.
|
inlineprotected |
Definition at line 251 of file TensorFixedSize.h.
|
inline |
Definition at line 100 of file TensorFixedSize.h.
|
inline |
Definition at line 86 of file TensorFixedSize.h.
|
inline |
Definition at line 78 of file TensorFixedSize.h.
|
inline |
Definition at line 93 of file TensorFixedSize.h.
|
inline |
Definition at line 130 of file TensorFixedSize.h.
|
inline |
Definition at line 116 of file TensorFixedSize.h.
|
inline |
Definition at line 108 of file TensorFixedSize.h.
|
inline |
Definition at line 123 of file TensorFixedSize.h.
|
inline |
Definition at line 68 of file TensorFixedSize.h.
|
inline |
Definition at line 69 of file TensorFixedSize.h.
|
inline |
Definition at line 65 of file TensorFixedSize.h.
|
inline |
Definition at line 66 of file TensorFixedSize.h.
|
inlineprotected |
Definition at line 267 of file TensorFixedSize.h.
|
inline |
Definition at line 196 of file TensorFixedSize.h.
|
inline |
Definition at line 159 of file TensorFixedSize.h.
|
inline |
Definition at line 182 of file TensorFixedSize.h.
|
inline |
Definition at line 145 of file TensorFixedSize.h.
|
inline |
Definition at line 174 of file TensorFixedSize.h.
|
inline |
Definition at line 137 of file TensorFixedSize.h.
|
inline |
Definition at line 189 of file TensorFixedSize.h.
|
inline |
Definition at line 152 of file TensorFixedSize.h.
|
inline |
Definition at line 203 of file TensorFixedSize.h.
|
inline |
Definition at line 166 of file TensorFixedSize.h.
|
inline |
Definition at line 64 of file TensorFixedSize.h.
|
inline |
Definition at line 67 of file TensorFixedSize.h.
|
staticconstexpr |
Definition at line 42 of file TensorFixedSize.h.
|
protected |
Definition at line 61 of file TensorFixedSize.h.
|
staticconstexpr |
Definition at line 58 of file TensorFixedSize.h.
|
staticconstexpr |
Definition at line 41 of file TensorFixedSize.h.