diff options
author | Gael Guennebaud <g.gael@free.fr> | 2010-11-15 11:11:22 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2010-11-15 11:11:22 +0100 |
commit | 5a3a229550fb710d7e29ffed848c8317d0796e78 (patch) | |
tree | 0f6fc8ca580804fefac18aaaaaea68756398d1ad /Eigen/src/Householder | |
parent | cad73d9cdc7120e84f5e3927a2e2dff3879d5b74 (diff) |
fix return type of rightHouseholderSequence()
Diffstat (limited to 'Eigen/src/Householder')
-rw-r--r-- | Eigen/src/Householder/HouseholderSequence.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Eigen/src/Householder/HouseholderSequence.h b/Eigen/src/Householder/HouseholderSequence.h index 2e95b8320..3b740a4fb 100644 --- a/Eigen/src/Householder/HouseholderSequence.h +++ b/Eigen/src/Householder/HouseholderSequence.h @@ -44,7 +44,7 @@ * A.applyOnTheLeft(H.adjoint()); // A = H^* * A * MatrixXd Q = H; // conversion to a dense matrix * \endcode - * In addition to the adjoint, you can also apply the inverse (=adjoint), the transpose, and the conjugate. + * In addition to the adjoint, you can also apply the inverse (=adjoint), the transpose, and the conjugate operators. * * \sa MatrixBase::applyOnTheLeft(), MatrixBase::applyOnTheRight() */ @@ -164,7 +164,7 @@ template<typename VectorsType, typename CoeffsType, int Side> class HouseholderS template<typename DestType> void evalTo(DestType& dst) const { Index vecs = m_actualVectors; - // FIXME find a way to pass this temporary if the user want to + // FIXME find a way to pass this temporary if the user wants to Matrix<Scalar, DestType::RowsAtCompileTime, 1, AutoAlign|ColMajor, DestType::MaxRowsAtCompileTime, 1> temp(rows()); if( internal::is_same<typename internal::remove_all<VectorsType>::type,DestType>::value @@ -273,13 +273,13 @@ HouseholderSequence<VectorsType,CoeffsType> householderSequence } template<typename VectorsType, typename CoeffsType> -HouseholderSequence<VectorsType,CoeffsType> rightHouseholderSequence(const VectorsType& v, const CoeffsType& h, bool trans=false) +HouseholderSequence<VectorsType,CoeffsType,OnTheRight> rightHouseholderSequence(const VectorsType& v, const CoeffsType& h, bool trans=false) { return HouseholderSequence<VectorsType,CoeffsType,OnTheRight>(v, h, trans); } template<typename VectorsType, typename CoeffsType> -HouseholderSequence<VectorsType,CoeffsType> rightHouseholderSequence +HouseholderSequence<VectorsType,CoeffsType,OnTheRight> rightHouseholderSequence (const VectorsType& v, const CoeffsType& h, bool trans, typename VectorsType::Index actualVectors, typename VectorsType::Index shift) { |