|
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 |
|
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE StoragePointerType | data () |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE StoragePointerType | data () const |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index | dimension (Index n) const |
|
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Dimensions & | dimensions () const |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE StorageRefType | operator() () |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE StorageRefType | operator() () const |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE StorageRefType | operator() (const array< Index, NumIndices > &indices) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE StorageRefType | operator() (const array< Index, NumIndices > &indices) const |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE StorageRefType | operator() (Index i0, Index i1) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE StorageRefType | operator() (Index i0, Index i1) const |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE StorageRefType | operator() (Index i0, Index i1, Index i2) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE StorageRefType | operator() (Index i0, Index i1, Index i2) const |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE StorageRefType | operator() (Index i0, Index i1, Index i2, Index i3) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE StorageRefType | operator() (Index i0, Index i1, Index i2, Index i3) const |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE StorageRefType | operator() (Index i0, Index i1, Index i2, Index i3, Index i4) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE StorageRefType | operator() (Index i0, Index i1, Index i2, Index i3, Index i4) const |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE StorageRefType | operator() (Index index) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE StorageRefType | operator() (Index index) const |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index | rank () const |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index | size () const |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | TensorMap (PlainObjectType &tensor) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | TensorMap (StoragePointerType dataPtr) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | TensorMap (StoragePointerType dataPtr, const array< Index, NumIndices > &dimensions) |
|
template<typename Dimensions > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | TensorMap (StoragePointerType dataPtr, const Dimensions &dimensions) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | TensorMap (StoragePointerType dataPtr, Index dim1, Index dim2) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | TensorMap (StoragePointerType dataPtr, Index dim1, Index dim2, Index dim3) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | TensorMap (StoragePointerType dataPtr, Index dim1, Index dim2, Index dim3, Index dim4) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | TensorMap (StoragePointerType dataPtr, Index dim1, Index dim2, Index dim3, Index dim4, Index dim5) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | TensorMap (StoragePointerType dataPtr, Index firstDimension) |
|
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.