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:55:46 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-03-03 09:55:46 -0500
commit7dbe806711dc29cf3d13122579f1da89f6398257 (patch)
tree5bede74075f5cddbfef02a8dfa7ae1dc3465931b /Eigen/src/Core/Matrix.h
parentaa6570c3a39fd0d8094b8aa32a2710b95eec6894 (diff)
parent6a92168915ed91c77abf24d641e263e3876157f3 (diff)
merge
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>