51template<
int _OuterStr
ideAtCompileTime,
int _InnerStr
ideAtCompileTime>
57 InnerStrideAtCompileTime = _InnerStrideAtCompileTime,
58 OuterStrideAtCompileTime = _OuterStrideAtCompileTime
64 : m_outer(OuterStrideAtCompileTime), m_inner(InnerStrideAtCompileTime)
68 eigen_assert(InnerStrideAtCompileTime !=
Dynamic && OuterStrideAtCompileTime !=
Dynamic);
74 : m_outer(outerStride), m_inner(innerStride)
81 : m_outer(other.
outer()), m_inner(other.
inner())
85 EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR
88 EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR
92 internal::variable_if_dynamic<Index, OuterStrideAtCompileTime> m_outer;
93 internal::variable_if_dynamic<Index, InnerStrideAtCompileTime> m_inner;
99class InnerStride :
public Stride<0, Value>
103 EIGEN_DEVICE_FUNC InnerStride() : Base() {}
104 EIGEN_DEVICE_FUNC InnerStride(
Index v) : Base(0, v) {}
110class OuterStride :
public Stride<Value, 0>
114 EIGEN_DEVICE_FUNC OuterStride() : Base() {}
115 EIGEN_DEVICE_FUNC OuterStride(
Index v) : Base(v,0) {}
EIGEN_CONSTEXPR Index outer() const
Definition Stride.h:86
Stride(Index outerStride, Index innerStride)
Definition Stride.h:73
Eigen::Index Index
Definition Stride.h:55
Stride(const Stride &other)
Definition Stride.h:80
EIGEN_CONSTEXPR Index inner() const
Definition Stride.h:89
Stride()
Definition Stride.h:63
Namespace containing all symbols from the Eigen library.
Definition B01_Experimental.dox:1
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition Meta.h:74
const int Dynamic
Definition Constants.h:22