Various numerical fixes in D&C SVD: I cannot make it fail with double, but still need to tune for single precision, and carefully test with duplicated singular values

This commit is contained in:
Gael Guennebaud
2014-10-09 23:29:01 +02:00
parent 4b886e6b39
commit ccd70ba123
5 changed files with 58 additions and 73 deletions

View File

@@ -21,8 +21,7 @@
#define SVD_DEFAULT(M) BDCSVD<M>
// #define SVD_FOR_MIN_NORM(M) BDCSVD<M>
#define SVD_FOR_MIN_NORM(M) JacobiSVD<M,ColPivHouseholderQRPreconditioner>
#define SVD_FOR_MIN_NORM(M) BDCSVD<M>
#include "../../test/svd_common.h"
// Check all variants of JacobiSVD