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