aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/Core/util')
-rw-r--r--Eigen/src/Core/util/Constants.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Eigen/src/Core/util/Constants.h b/Eigen/src/Core/util/Constants.h
index 21e7f62c3..affc1d478 100644
--- a/Eigen/src/Core/util/Constants.h
+++ b/Eigen/src/Core/util/Constants.h
@@ -238,6 +238,15 @@ enum {
OnTheRight = 2
};
+// options for SVD decomposition
+enum {
+ SkipU = 0x1,
+ SkipV = 0x2,
+ AtLeastAsManyRowsAsCols = 0x4,
+ AtLeastAsManyColsAsRows = 0x8,
+ Square = AtLeastAsManyRowsAsCols | AtLeastAsManyColsAsRows
+};
+
/* the following could as well be written:
* enum NoChange_t { NoChange };
* but it feels dangerous to disambiguate overloaded functions on enum/integer types.