aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/Constants.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-06-16 23:48:16 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-06-16 23:48:16 +0200
commit74006a9fe917584974f29295f40e81b2c64fc6f4 (patch)
treed88547f79eaeaa0b782605b362d4ff6ad2ebf540 /Eigen/src/Core/util/Constants.h
parent197ce96c0087e48201e5bda525ab67163dc9b661 (diff)
* decouple the generalized selfadjoint eigenvalue problem to the standard one
* uses named values instead of bools
Diffstat (limited to 'Eigen/src/Core/util/Constants.h')
-rw-r--r--Eigen/src/Core/util/Constants.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/Eigen/src/Core/util/Constants.h b/Eigen/src/Core/util/Constants.h
index 831b82890..0553c40f4 100644
--- a/Eigen/src/Core/util/Constants.h
+++ b/Eigen/src/Core/util/Constants.h
@@ -234,6 +234,20 @@ enum {
IsSparse
};
+enum DecompositionOptions {
+ Pivoting = 0x01, // LDLT,
+ NoPivoting = 0x02, // LDLT,
+ ComputeU = 0x10, // SVD,
+ ComputeR = 0x20, // SVD,
+ EigenvaluesOnly = 0x40, // all eigen solvers
+ ComputeEigenvectors = 0x80, // all eigen solvers
+ EigVecMask = EigenvaluesOnly | ComputeEigenvectors,
+ Ax_lBx = 0x100,
+ ABx_lx = 0x200,
+ BAx_lx = 0x400,
+ GenEigMask = Ax_lBx | ABx_lx | BAx_lx
+};
+
/** \brief Enum for reporting the status of a computation.
*/
enum ComputationInfo {