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_;
65 template<
typename Scalar_,
typename Dimensions,
int Options_,
typename IndexType_>
83 template<
typename PlainObjectType,
int Options_,
template <
class>
class MakePointer_>
85 :
public traits<PlainObjectType>
91 static const int NumDimensions = BaseTraits::NumDimensions;
92 static const int Layout = BaseTraits::Layout;
95 Flags = BaseTraits::Flags
104 template<
typename PlainObjectType>
106 :
public traits<PlainObjectType>
112 static const int NumDimensions = BaseTraits::NumDimensions;
113 static const int Layout = BaseTraits::Layout;
115 Options = BaseTraits::Options,
116 Flags = BaseTraits::Flags
121 template<
typename _Scalar,
int NumIndices_,
int Options,
typename IndexType_>
127 template<
typename _Scalar,
int NumIndices_,
int Options,
typename IndexType_>
133 template<
typename Scalar_,
typename Dimensions,
int Options,
typename IndexType_>
139 template<
typename Scalar_,
typename Dimensions,
int Options,
typename IndexType_>
145 template<
typename PlainObjectType,
int Options,
template <
class>
class MakePointer>
151 template<
typename PlainObjectType,
int Options,
template <
class>
class MakePointer>
157 template<
typename PlainObjectType>
163 template<
typename PlainObjectType>
170 template<
typename T,
int n=1,
typename PlainObject =
void>
struct nested 175 template <
typename Scalar_,
int NumIndices_,
int Options_,
typename IndexType_>
181 template <
typename Scalar_,
int NumIndices_,
int Options_,
typename IndexType_>
182 struct nested<const
Tensor<Scalar_, NumIndices_, Options_, IndexType_> >
187 template <
typename Scalar_,
typename Dimensions,
int Options,
typename IndexType_>
193 template <
typename Scalar_,
typename Dimensions,
int Options,
typename IndexType_>
200 template <
typename PlainObjectType,
int Options,
template <
class>
class MakePointer>
206 template <
typename PlainObjectType,
int Options,
template <
class>
class MakePointer>
212 template <
typename PlainObjectType>
218 template <
typename PlainObjectType>
272 #endif // EIGEN_CXX11_TENSOR_TENSOR_TRAITS_H const TensorMap< PlainObjectType, Options, MakePointer > & type
const TensorFixedSize< Scalar_, Dimensions, Options, IndexType_ > & type
#define EIGEN_MAX_ALIGN_BYTES
MakePointer_< T > MakePointerT
const unsigned int LvalueBit
BaseTraits::StorageKind StorageKind
Namespace containing all symbols from the Eigen library.
const TensorFixedSize< Scalar_, Dimensions, Options, IndexType_ > & type
BaseTraits::Scalar Scalar
const TensorRef< PlainObjectType > & type
const unsigned int PacketAccessBit
traits< PlainObjectType > BaseTraits
const TensorRef< PlainObjectType > & type
BaseTraits::Scalar Scalar
BaseTraits::StorageKind StorageKind
const TensorMap< PlainObjectType, Options, MakePointer > & type
ref_selector< T >::type type
const Tensor< _Scalar, NumIndices_, Options, IndexType_ > & type
A tensor expression mapping an existing array of data.
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
const Tensor< Scalar_, NumIndices_, Options_, IndexType_ > & type
traits< PlainObjectType > BaseTraits
const TensorFixedSize< Scalar_, Dimensions, Options, IndexType_ > & type
const Tensor< _Scalar, NumIndices_, Options, IndexType_ > & type
const TensorMap< PlainObjectType, Options, MakePointer > & type
The fixed sized version of the tensor class.
const TensorMap< PlainObjectType, Options, MakePointer > & type
const Tensor< Scalar_, NumIndices_, Options_, IndexType_ > & type
const TensorRef< PlainObjectType > & type
const TensorRef< PlainObjectType > & type
A reference to a tensor expression The expression will be evaluated lazily (as much as possible)...
const TensorFixedSize< Scalar_, Dimensions, Options, IndexType_ > & type