A reference to a tensor expression The expression will be evaluated lazily (as much as possible). More...
Inheritance diagram for Eigen::TensorRef< PlainObjectType >:Public Types | |
| enum | { IsAligned , PacketAccess , BlockAccess , PreferBlockAccess , CoordAccess , RawAccess } |
| typedef PlainObjectType::Base | Base |
| typedef Base::CoeffReturnType | CoeffReturnType |
| typedef PlainObjectType::Dimensions | Dimensions |
| typedef internal::traits< PlainObjectType >::Index | Index |
| typedef Eigen::internal::nested< Self >::type | Nested |
| typedef PointerType | PointerArgType |
| typedef Scalar * | PointerType |
| typedef NumTraits< Scalar >::Real | RealScalar |
| typedef internal::traits< PlainObjectType >::Scalar | Scalar |
| typedef TensorRef< PlainObjectType > | Self |
| typedef internal::traits< PlainObjectType >::StorageKind | StorageKind |
| typedef internal::TensorBlockNotImplemented | TensorBlock |
Public Member Functions | |
| template<std::size_t NumIndices> | |
| const Scalar | coeff (const array< Index, NumIndices > &indices) const |
| const Scalar | coeff (Index index) const |
| template<std::size_t NumIndices> | |
| Scalar & | coeffRef (const array< Index, NumIndices > &indices) |
| template<typename... IndexTypes> | |
| Scalar & | coeffRef (Index firstIndex, IndexTypes... otherIndices) |
| Scalar & | coeffRef (Index index) |
| const Scalar * | data () const |
| Index | dimension (Index n) const |
| const Dimensions & | dimensions () const |
| template<typename... IndexTypes> | |
| const Scalar | operator() (Index firstIndex, IndexTypes... otherIndices) const |
| const Scalar | operator() (Index index) const |
| template<typename Expression > | |
| TensorRef & | operator= (const Expression &expr) |
| TensorRef & | operator= (const TensorRef &other) |
| Index | rank () const |
| Index | size () const |
| TensorRef () | |
| template<typename Expression > | |
| TensorRef (const Expression &expr) | |
| TensorRef (const TensorRef &other) | |
| ~TensorRef () | |
Static Public Attributes | |
| static constexpr int | Layout |
| static constexpr Index | NumIndices |
Private Member Functions | |
| void | unrefEvaluator () |
Private Attributes | |
| internal::TensorLazyBaseEvaluator< Dimensions, Scalar > * | m_evaluator |
A reference to a tensor expression The expression will be evaluated lazily (as much as possible).
Definition at line 126 of file TensorRef.h.
| typedef PlainObjectType::Base Eigen::TensorRef< PlainObjectType >::Base |
Definition at line 130 of file TensorRef.h.
| typedef Base::CoeffReturnType Eigen::TensorRef< PlainObjectType >::CoeffReturnType |
Definition at line 136 of file TensorRef.h.
| typedef PlainObjectType::Dimensions Eigen::TensorRef< PlainObjectType >::Dimensions |
Definition at line 141 of file TensorRef.h.
| typedef internal::traits<PlainObjectType>::Index Eigen::TensorRef< PlainObjectType >::Index |
Definition at line 133 of file TensorRef.h.
| typedef Eigen::internal::nested<Self>::type Eigen::TensorRef< PlainObjectType >::Nested |
Definition at line 131 of file TensorRef.h.
| typedef PointerType Eigen::TensorRef< PlainObjectType >::PointerArgType |
Definition at line 138 of file TensorRef.h.
| typedef Scalar* Eigen::TensorRef< PlainObjectType >::PointerType |
Definition at line 137 of file TensorRef.h.
| typedef NumTraits<Scalar>::Real Eigen::TensorRef< PlainObjectType >::RealScalar |
Definition at line 135 of file TensorRef.h.
| typedef internal::traits<PlainObjectType>::Scalar Eigen::TensorRef< PlainObjectType >::Scalar |
Definition at line 134 of file TensorRef.h.
| typedef TensorRef<PlainObjectType> Eigen::TensorRef< PlainObjectType >::Self |
Definition at line 129 of file TensorRef.h.
| typedef internal::traits<PlainObjectType>::StorageKind Eigen::TensorRef< PlainObjectType >::StorageKind |
Definition at line 132 of file TensorRef.h.
| typedef internal::TensorBlockNotImplemented Eigen::TensorRef< PlainObjectType >::TensorBlock |
Definition at line 154 of file TensorRef.h.
| anonymous enum |
| Enumerator | |
|---|---|
| IsAligned | |
| PacketAccess | |
| BlockAccess | |
| PreferBlockAccess | |
| CoordAccess | |
| RawAccess | |
Definition at line 144 of file TensorRef.h.
|
inline |
Definition at line 157 of file TensorRef.h.
|
inline |
Definition at line 161 of file TensorRef.h.
|
inline |
Definition at line 173 of file TensorRef.h.
|
inline |
Definition at line 177 of file TensorRef.h.
|
inline |
Definition at line 225 of file TensorRef.h.
|
inline |
Definition at line 262 of file TensorRef.h.
|
inline |
Definition at line 243 of file TensorRef.h.
|
inline |
Definition at line 217 of file TensorRef.h.
|
inline |
Definition at line 268 of file TensorRef.h.
|
inline |
Definition at line 201 of file TensorRef.h.
|
inline |
Definition at line 195 of file TensorRef.h.
|
inline |
Definition at line 197 of file TensorRef.h.
|
inline |
Definition at line 210 of file TensorRef.h.
|
inline |
Definition at line 204 of file TensorRef.h.
|
inline |
Definition at line 166 of file TensorRef.h.
|
inline |
Definition at line 182 of file TensorRef.h.
|
inline |
Definition at line 193 of file TensorRef.h.
|
inline |
Definition at line 199 of file TensorRef.h.
|
inlineprivate |
Definition at line 274 of file TensorRef.h.
|
staticconstexpr |
Definition at line 143 of file TensorRef.h.
|
private |
Definition at line 283 of file TensorRef.h.
|
staticconstexpr |
Definition at line 140 of file TensorRef.h.