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