aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-08-05 15:43:11 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-08-05 15:43:11 +0000
commit09ef7db9d92f6f96ca90655ae3ceecbefa4421fd (patch)
treedcfe9809e1d5f5b3330880a259f97593e3a664c6 /Eigen/src/Core/util
parente741b7becae92e87d9851e41858b892cfeb02755 (diff)
Add partial pivoting runtime option to LU.
Note: in fact, inverse() always uses partial pivoting because the algo currently used doesn't make sense with complete pivoting. No num stability issue so far even with size 200x200. If there is any problem we can of course reimplement inverse on top of LU.
Diffstat (limited to 'Eigen/src/Core/util')
-rw-r--r--Eigen/src/Core/util/Constants.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Eigen/src/Core/util/Constants.h b/Eigen/src/Core/util/Constants.h
index 24c653e2e..dd854e9ac 100644
--- a/Eigen/src/Core/util/Constants.h
+++ b/Eigen/src/Core/util/Constants.h
@@ -209,6 +209,11 @@ enum {
HasDirectAccess = DirectAccessBit
};
+enum {
+ PartialPivoting,
+ CompletePivoting
+};
+
const int FullyCoherentAccessPattern = 0x1;
const int InnerCoherentAccessPattern = 0x2 | FullyCoherentAccessPattern;
const int OuterCoherentAccessPattern = 0x4 | InnerCoherentAccessPattern;