Make applyZAdjointOnTheLeftInPlace protected.

This commit is contained in:
Rasmus Munk Larsen 2016-02-08 09:01:43 -08:00
parent 414efa47d3
commit 53f60e0afc

View File

@ -137,11 +137,6 @@ class CompleteOrthogonalDecomposition {
HouseholderSequenceType householderQ(void) const; HouseholderSequenceType householderQ(void) const;
HouseholderSequenceType matrixQ(void) const { return m_cpqr.householderQ(); } HouseholderSequenceType matrixQ(void) const { return m_cpqr.householderQ(); }
/** Overwrites \b rhs with \f$ \mathbf{Z}^* * \mathbf{rhs} \f$.
*/
template <typename Rhs>
void applyZAdjointOnTheLeftInPlace(Rhs& rhs) const;
/** \returns the matrix \b Z. /** \returns the matrix \b Z.
*/ */
MatrixType matrixZ() const { MatrixType matrixZ() const {
@ -333,10 +328,9 @@ class CompleteOrthogonalDecomposition {
RealScalar threshold() const { return m_cpqr.threshold(); } RealScalar threshold() const { return m_cpqr.threshold(); }
/** \returns the number of nonzero pivots in the complete orthogonal /** \returns the number of nonzero pivots in the complete orthogonal
* decomposition. * decomposition. Here nonzero is meant in the exact sense, not in a
* Here nonzero is meant in the exact sense, not in a fuzzy sense. * fuzzy sense. So that notion isn't really intrinsically interesting,
* So that notion isn't really intrinsically interesting, but it is * but it is still useful when implementing algorithms.
* still useful when implementing algorithms.
* *
* \sa rank() * \sa rank()
*/ */
@ -370,6 +364,11 @@ class CompleteOrthogonalDecomposition {
EIGEN_STATIC_ASSERT_NON_INTEGER(Scalar); EIGEN_STATIC_ASSERT_NON_INTEGER(Scalar);
} }
/** Overwrites \b rhs with \f$ \mathbf{Z}^* * \mathbf{rhs} \f$.
*/
template <typename Rhs>
void applyZAdjointOnTheLeftInPlace(Rhs& rhs) const;
ColPivHouseholderQR<MatrixType> m_cpqr; ColPivHouseholderQR<MatrixType> m_cpqr;
HCoeffsType m_zCoeffs; HCoeffsType m_zCoeffs;
RowVectorType m_temp; RowVectorType m_temp;