aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Matrix.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-03-03 09:54:50 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-03-03 09:54:50 -0500
commit6a92168915ed91c77abf24d641e263e3876157f3 (patch)
treea1707ff775412891f52c3e2d3cce0748a2e7e6a2 /Eigen/src/Core/Matrix.h
parent2f3d685e0c687ae1121428dab6bc0ec868b14fe3 (diff)
This was implementing deep changes that after discussion on the mailing list seem to need further discussion/thinking.
Diffstat (limited to 'Eigen/src/Core/Matrix.h')
-rw-r--r--Eigen/src/Core/Matrix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h
index 3cd3f7814..e7422457c 100644
--- a/Eigen/src/Core/Matrix.h
+++ b/Eigen/src/Core/Matrix.h
@@ -318,6 +318,9 @@ class Matrix
void swap(MatrixBase<OtherDerived> EIGEN_REF_TO_TEMPORARY other)
{ this->_swap(other.derived()); }
+ inline int innerStride() const { return 1; }
+ inline int outerStride() const { return this->innerSize(); }
+
/////////// Geometry module ///////////
template<typename OtherDerived>