JacobiSVD: implement general R-SVD using full-pivoting QR, so we now support any rectangular matrix size by reducing to the smaller of the two dimensions (which is also an optimization)

This commit is contained in:
Benoit Jacob
2009-09-02 06:36:55 -04:00
parent c16d65f015
commit e6b77bcc6b
4 changed files with 45 additions and 16 deletions

View File

@@ -286,7 +286,7 @@ FullPivotingHouseholderQR<MatrixType>& FullPivotingHouseholderQR<MatrixType>::co
m_cols_permutation.resize(matrix.cols());
int number_of_transpositions = 0;
RealScalar biggest;
RealScalar biggest(0);
for (int k = 0; k < size; ++k)
{