10 #ifndef EIGEN_CXX11_TENSOR_TENSOR_TRAITS_H 11 #define EIGEN_CXX11_TENSOR_TENSOR_TRAITS_H 17 template<
typename Scalar,
int Options>
26 #if EIGEN_MAX_STATIC_ALIGN_BYTES>0 47 template<
typename Scalar_,
int NumIndices_,
int Options_,
typename IndexType_>
53 static const int NumDimensions = NumIndices_;
66 template<
typename Scalar_,
typename Dimensions,
int Options_,
typename IndexType_>
85 template<
typename PlainObjectType,
int Options_,
template <
class>
class MakePointer_>
87 :
public traits<PlainObjectType>
93 static const int NumDimensions = BaseTraits::NumDimensions;
94 static const int Layout = BaseTraits::Layout;
97 Flags = BaseTraits::Flags
107 template<
typename PlainObjectType>
109 :
public traits<PlainObjectType>
115 static const int NumDimensions = BaseTraits::NumDimensions;
116 static const int Layout = BaseTraits::Layout;
118 Options = BaseTraits::Options,
119 Flags = BaseTraits::Flags
125 template<
typename _Scalar,
int NumIndices_,
int Options,
typename IndexType_>
131 template<
typename _Scalar,
int NumIndices_,
int Options,
typename IndexType_>
137 template<
typename Scalar_,
typename Dimensions,
int Options,
typename IndexType_>
143 template<
typename Scalar_,
typename Dimensions,
int Options,
typename IndexType_>
149 template<
typename PlainObjectType,
int Options,
template <
class>
class MakePointer>
155 template<
typename PlainObjectType,
int Options,
template <
class>
class MakePointer>
161 template<
typename PlainObjectType>
167 template<
typename PlainObjectType>
174 template<
typename T,
int n=1,
typename PlainObject =
void>
struct nested 179 template <
typename Scalar_,
int NumIndices_,
int Options_,
typename IndexType_>
185 template <
typename Scalar_,
int NumIndices_,
int Options_,
typename IndexType_>
186 struct nested<const
Tensor<Scalar_, NumIndices_, Options_, IndexType_> >
191 template <
typename Scalar_,
typename Dimensions,
int Options,
typename IndexType_>
197 template <
typename Scalar_,
typename Dimensions,
int Options,
typename IndexType_>
204 template <
typename PlainObjectType>
210 template <
typename PlainObjectType>
264 #endif // EIGEN_CXX11_TENSOR_TENSOR_TRAITS_H const Tensor< _Scalar, NumIndices_, Options, IndexType_ > EIGEN_DEVICE_REF type
BaseTraits::PointerType PointerType
const TensorRef< PlainObjectType > EIGEN_DEVICE_REF type
MakePointer_< T > MakePointerT
const Tensor< _Scalar, NumIndices_, Options, IndexType_ > EIGEN_DEVICE_REF type
MakePointer< Scalar >::Type PointerType
const unsigned int LvalueBit
BaseTraits::StorageKind StorageKind
Namespace containing all symbols from the Eigen library.
MakePointer< Scalar >::Type PointerType
BaseTraits::Scalar Scalar
const unsigned int PacketAccessBit
traits< PlainObjectType > BaseTraits
BaseTraits::Scalar Scalar
BaseTraits::StorageKind StorageKind
const TensorRef< PlainObjectType > EIGEN_DEVICE_REF type
const TensorMap< PlainObjectType, Options, MakePointer > EIGEN_DEVICE_REF type
const TensorFixedSize< Scalar_, Dimensions, Options, IndexType_ > EIGEN_DEVICE_REF type
ref_selector< T >::type type
A tensor expression mapping an existing array of data.
const TensorRef< PlainObjectType > EIGEN_DEVICE_REF type
const Tensor< Scalar_, NumIndices_, Options_, IndexType_ > EIGEN_DEVICE_REF type
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
traits< PlainObjectType > BaseTraits
The fixed sized version of the tensor class.
const TensorFixedSize< Scalar_, Dimensions, Options, IndexType_ > EIGEN_DEVICE_REF type
const TensorMap< PlainObjectType, Options, MakePointer > EIGEN_DEVICE_REF type
const Tensor< Scalar_, NumIndices_, Options_, IndexType_ > EIGEN_DEVICE_REF type
MakePointer< Scalar >::Type PointerType
A reference to a tensor expression The expression will be evaluated lazily (as much as possible)...
Generic expression where a coefficient-wise unary operator is applied to an expression.
const TensorRef< PlainObjectType > EIGEN_DEVICE_REF type
const TensorFixedSize< Scalar_, Dimensions, Options, IndexType_ > EIGEN_DEVICE_REF type
const TensorFixedSize< Scalar_, Dimensions, Options, IndexType_ > EIGEN_DEVICE_REF type