bug #271: fix copy/paste mistakes in doc

(transplanted from 145b9cad63101ee46924d446fa8b08ffb48c7f3a)
This commit is contained in:
Gael Guennebaud 2011-05-23 13:39:26 +02:00
parent 46bee5682f
commit 117d17ee58
2 changed files with 3 additions and 3 deletions

View File

@ -330,12 +330,12 @@ template<typename _MatrixType> class ColPivHouseholderQR
*/ */
inline Index nonzeroPivots() const inline Index nonzeroPivots() const
{ {
eigen_assert(m_isInitialized && "LU is not initialized."); eigen_assert(m_isInitialized && "ColPivHouseholderQR is not initialized.");
return m_nonzero_pivots; return m_nonzero_pivots;
} }
/** \returns the absolute value of the biggest pivot, i.e. the biggest /** \returns the absolute value of the biggest pivot, i.e. the biggest
* diagonal coefficient of U. * diagonal coefficient of R.
*/ */
RealScalar maxPivot() const { return m_maxpivot; } RealScalar maxPivot() const { return m_maxpivot; }

View File

@ -292,7 +292,7 @@ void real_2x2_jacobi_svd(const MatrixType& matrix, Index p, Index q,
* *
* \class JacobiSVD * \class JacobiSVD
* *
* \brief Two-sided Jacobi SVD decomposition of a square matrix * \brief Two-sided Jacobi SVD decomposition of a rectangular matrix
* *
* \param MatrixType the type of the matrix of which we are computing the SVD decomposition * \param MatrixType the type of the matrix of which we are computing the SVD decomposition
* \param QRPreconditioner this optional parameter allows to specify the type of QR decomposition that will be used internally * \param QRPreconditioner this optional parameter allows to specify the type of QR decomposition that will be used internally