A tensor expression mapping an existing array of data. More...
#include <TensorForwardDeclarations.h>
Public Types | |
enum | { IsAligned = ((int(Options_)&Aligned)==Aligned), Layout = PlainObjectType::Layout, CoordAccess = true, RawAccess = true } |
typedef TensorBase< TensorMap< PlainObjectType, Options_, MakePointer_ > > | Base |
typedef PlainObjectType::Base::CoeffReturnType | CoeffReturnType |
typedef PlainObjectType::Dimensions | Dimensions |
typedef internal::traits< PlainObjectType >::Index | Index |
typedef Eigen::internal::nested< Self >::type | Nested |
typedef MakePointer_< Scalar >::ConstType | PointerConstType |
typedef MakePointer_< Scalar >::Type | PointerType |
typedef NumTraits< Scalar >::Real | RealScalar |
typedef internal::traits< PlainObjectType >::Scalar | Scalar |
typedef TensorMap< PlainObjectType, Options_, MakePointer_ > | Self |
typedef internal::traits< PlainObjectType >::StorageKind | StorageKind |
typedef internal::conditional< bool(internal::is_lvalue< PlainObjectType >::value), PointerType, PointerConstType >::type | StoragePointerType |
typedef internal::conditional< bool(internal::is_lvalue< PlainObjectType >::value), Scalar &, const Scalar & >::type | StorageRefType |
Static Public Attributes | |
static const Index | NumIndices = PlainObjectType::NumIndices |
static const int | Options = Options_ |
Private Attributes | |
StoragePointerType | m_data |
Dimensions | m_dimensions |
A tensor expression mapping an existing array of data.
template <class> class MakePointer_
is added to convert the host pointer to the device pointer. It is added due to the fact that for our device compiler T*
is not allowed. If we wanted to use the same Evaluator functions we have to convert that type to our pointer T
. This is done through our MakePointer_
class. By default the Type in the MakePointer_<T>
is T*
. Therefore, by adding the default value, we managed to convert the type and it does not break any existing code as its default value is T*
.
Definition at line 52 of file TensorForwardDeclarations.h.
typedef TensorBase<TensorMap<PlainObjectType, Options_, MakePointer_> > Eigen::TensorMap::Base |
Definition at line 33 of file TensorMap.h.
typedef PlainObjectType::Base::CoeffReturnType Eigen::TensorMap::CoeffReturnType |
Definition at line 43 of file TensorMap.h.
typedef PlainObjectType::Dimensions Eigen::TensorMap::Dimensions |
Definition at line 70 of file TensorMap.h.
typedef internal::traits<PlainObjectType>::Index Eigen::TensorMap::Index |
Definition at line 40 of file TensorMap.h.
Definition at line 37 of file TensorMap.h.
typedef MakePointer_<Scalar>::ConstType Eigen::TensorMap::PointerConstType |
Definition at line 46 of file TensorMap.h.
typedef MakePointer_<Scalar>::Type Eigen::TensorMap::PointerType |
Definition at line 45 of file TensorMap.h.
typedef NumTraits<Scalar>::Real Eigen::TensorMap::RealScalar |
Definition at line 42 of file TensorMap.h.
typedef internal::traits<PlainObjectType>::Scalar Eigen::TensorMap::Scalar |
Definition at line 41 of file TensorMap.h.
typedef TensorMap<PlainObjectType, Options_, MakePointer_> Eigen::TensorMap::Self |
Definition at line 32 of file TensorMap.h.
typedef internal::traits<PlainObjectType>::StorageKind Eigen::TensorMap::StorageKind |
Definition at line 39 of file TensorMap.h.
typedef internal::conditional< bool(internal::is_lvalue<PlainObjectType>::value), PointerType, PointerConstType >::type Eigen::TensorMap::StoragePointerType |
Definition at line 56 of file TensorMap.h.
typedef internal::conditional< bool(internal::is_lvalue<PlainObjectType>::value), Scalar&, const Scalar& >::type Eigen::TensorMap::StorageRefType |
Definition at line 65 of file TensorMap.h.
anonymous enum |
Enumerator | |
---|---|
IsAligned | |
Layout | |
CoordAccess | |
RawAccess |
Definition at line 72 of file TensorMap.h.
|
inline |
Definition at line 80 of file TensorMap.h.
|
inline |
Definition at line 93 of file TensorMap.h.
|
inline |
Definition at line 98 of file TensorMap.h.
|
inline |
Definition at line 102 of file TensorMap.h.
|
inline |
Definition at line 106 of file TensorMap.h.
|
inline |
Definition at line 110 of file TensorMap.h.
|
inline |
Definition at line 115 of file TensorMap.h.
|
inline |
Definition at line 120 of file TensorMap.h.
|
inline |
Definition at line 124 of file TensorMap.h.
|
inline |
Definition at line 137 of file TensorMap.h.
|
inline |
Definition at line 139 of file TensorMap.h.
|
inline |
Definition at line 131 of file TensorMap.h.
|
inline |
Definition at line 133 of file TensorMap.h.
|
inline |
Definition at line 243 of file TensorMap.h.
|
inline |
Definition at line 155 of file TensorMap.h.
|
inline |
Definition at line 230 of file TensorMap.h.
|
inline |
Definition at line 142 of file TensorMap.h.
|
inline |
Definition at line 273 of file TensorMap.h.
|
inline |
Definition at line 184 of file TensorMap.h.
|
inline |
Definition at line 284 of file TensorMap.h.
|
inline |
Definition at line 195 of file TensorMap.h.
|
inline |
Definition at line 295 of file TensorMap.h.
|
inline |
Definition at line 206 of file TensorMap.h.
|
inline |
Definition at line 306 of file TensorMap.h.
|
inline |
Definition at line 217 of file TensorMap.h.
|
inline |
Definition at line 250 of file TensorMap.h.
|
inline |
Definition at line 162 of file TensorMap.h.
|
inline |
Definition at line 129 of file TensorMap.h.
|
inline |
Definition at line 135 of file TensorMap.h.
|
private |
Definition at line 321 of file TensorMap.h.
|
private |
Definition at line 322 of file TensorMap.h.
|
static |
Definition at line 69 of file TensorMap.h.
|
static |
Definition at line 67 of file TensorMap.h.