aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/Constants.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2017-01-06 15:54:55 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2017-01-06 15:54:55 +0100
commita875167d99cffa76a662de5475627d60238f0f36 (patch)
treed2b1c1ad4e1df4504f9cce94d53bab76411c0d1e /Eigen/src/Core/util/Constants.h
parentfad1fa75b32ccd3a19fc783a0c660ca512283224 (diff)
Propagate compile-time increment and strides.
Had to introduce a UndefinedIncr constant for non structured list of indices.
Diffstat (limited to 'Eigen/src/Core/util/Constants.h')
-rw-r--r--Eigen/src/Core/util/Constants.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Eigen/src/Core/util/Constants.h b/Eigen/src/Core/util/Constants.h
index 7587d6842..5d37e5d04 100644
--- a/Eigen/src/Core/util/Constants.h
+++ b/Eigen/src/Core/util/Constants.h
@@ -25,6 +25,10 @@ const int Dynamic = -1;
*/
const int DynamicIndex = 0xffffff;
+/** This value means that the increment to go from one value to another in a sequence is not constant for each step.
+ */
+const int UndefinedIncr = 0xfffffe;
+
/** This value means +Infinity; it is currently used only as the p parameter to MatrixBase::lpNorm<int>().
* The value Infinity there means the L-infinity norm.
*/