mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
undo my last commit
This commit is contained in:
@@ -116,10 +116,10 @@ void MatrixBase<Derived>::applyHouseholderOnTheRight(
|
|||||||
{
|
{
|
||||||
Map<Matrix<Scalar, RowsAtCompileTime, 1, PlainMatrixType::Options, MaxRowsAtCompileTime, 1> > tmp(workspace,rows());
|
Map<Matrix<Scalar, RowsAtCompileTime, 1, PlainMatrixType::Options, MaxRowsAtCompileTime, 1> > tmp(workspace,rows());
|
||||||
Block<Derived, Derived::RowsAtCompileTime, EssentialPart::SizeAtCompileTime> right(derived(), 0, 1, rows(), cols()-1);
|
Block<Derived, Derived::RowsAtCompileTime, EssentialPart::SizeAtCompileTime> right(derived(), 0, 1, rows(), cols()-1);
|
||||||
tmp.noalias() = right * essential.adjoint();
|
tmp.noalias() = right * essential.conjugate();
|
||||||
tmp += this->col(0);
|
tmp += this->col(0);
|
||||||
this->col(0) -= tau * tmp;
|
this->col(0) -= tau * tmp;
|
||||||
right.noalias() -= tau * tmp * essential;
|
right.noalias() -= tau * tmp * essential.transpose();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // EIGEN_HOUSEHOLDER_H
|
#endif // EIGEN_HOUSEHOLDER_H
|
||||||
|
|||||||
Reference in New Issue
Block a user