Add a rank method with threshold control to JacobiSVD, and make solve uses it to return the minimal norm solution for rank-deficient problems

This commit is contained in:
Gael Guennebaud
2013-11-01 18:21:46 +01:00
parent 8f496cd3a3
commit bbd49d194a
2 changed files with 71 additions and 3 deletions

View File

@@ -76,7 +76,8 @@ template<typename _MatrixType> class ColPivHouseholderQR
m_colsTranspositions(),
m_temp(),
m_colSqNorms(),
m_isInitialized(false) {}
m_isInitialized(false),
m_usePrescribedThreshold(false) {}
/** \brief Default Constructor with memory preallocation
*