aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Array/Array.h
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/Array/Array.h')
-rw-r--r--Eigen/src/Array/Array.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Eigen/src/Array/Array.h b/Eigen/src/Array/Array.h
index ceef71afd..533d638a4 100644
--- a/Eigen/src/Array/Array.h
+++ b/Eigen/src/Array/Array.h
@@ -213,6 +213,9 @@ class Array
void swap(ArrayBase<OtherDerived> EIGEN_REF_TO_TEMPORARY other)
{ this->_swap(other.derived()); }
+ inline int innerStride() const { return 1; }
+ inline int outerStride() const { return this->innerSize(); }
+
#ifdef EIGEN_ARRAY_PLUGIN
#include EIGEN_ARRAY_PLUGIN
#endif