aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Eigenvalues/HessenbergDecomposition.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-09-16 14:34:08 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-09-16 14:34:08 +0200
commit77f858f6abf0e80eddf33b01d8dd3598be3fd7a3 (patch)
tree8bf287f9c6f8be4bd6590cdb9691d9e356c6f62a /Eigen/src/Eigenvalues/HessenbergDecomposition.h
parenta4fd0aa25b1de432976ab9dc371abf9073db0fab (diff)
improve ComplexShur api and doc
Diffstat (limited to 'Eigen/src/Eigenvalues/HessenbergDecomposition.h')
-rw-r--r--Eigen/src/Eigenvalues/HessenbergDecomposition.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/Eigenvalues/HessenbergDecomposition.h b/Eigen/src/Eigenvalues/HessenbergDecomposition.h
index b1e21d4ee..bb7e3fcfc 100644
--- a/Eigen/src/Eigenvalues/HessenbergDecomposition.h
+++ b/Eigen/src/Eigenvalues/HessenbergDecomposition.h
@@ -88,14 +88,14 @@ template<typename _MatrixType> class HessenbergDecomposition
_compute(m_matrix, m_hCoeffs);
}
- /** \returns the householder coefficients allowing to
+ /** \returns a const reference to the householder coefficients allowing to
* reconstruct the matrix Q from the packed data.
*
* \sa packedMatrix()
*/
- CoeffVectorType householderCoefficients() const { return m_hCoeffs; }
+ const CoeffVectorType& householderCoefficients() const { return m_hCoeffs; }
- /** \returns the internal result of the decomposition.
+ /** \returns a const reference to the internal representation of the decomposition.
*
* The returned matrix contains the following information:
* - the upper part and lower sub-diagonal represent the Hessenberg matrix H