11 #ifndef EIGEN_HOUSEHOLDER_H 12 #define EIGEN_HOUSEHOLDER_H 41 template<
typename Derived>
45 makeHouseholder(essentialPart, tau, beta);
63 template<
typename Derived>
64 template<
typename EssentialPart>
66 EssentialPart& essential,
90 essential = tail / (c0 - beta);
91 tau =
conj((beta - c0) / beta);
110 template<
typename Derived>
111 template<
typename EssentialPart>
113 const EssentialPart& essential,
125 tmp.noalias() = essential.adjoint() * bottom;
127 this->
row(0) -= tau * tmp;
128 bottom.noalias() -= tau * essential * tmp;
147 template<
typename Derived>
148 template<
typename EssentialPart>
150 const EssentialPart& essential,
162 tmp.noalias() = right * essential.conjugate();
164 this->
col(0) -= tau * tmp;
165 right.noalias() -= tau * tmp * essential.transpose();
171 #endif // EIGEN_HOUSEHOLDER_H const AutoDiffScalar< DerType > & conj(const AutoDiffScalar< DerType > &x)
IntermediateState sqrt(const Expression &arg)
A matrix or vector expression mapping an existing array of data.
iterative scaling algorithm to equilibrate rows and column norms in matrices
void makeHouseholder(EssentialPart &essential, Scalar &tau, RealScalar &beta) const
internal::traits< Derived >::Scalar Scalar
EIGEN_STRONG_INLINE const CwiseUnaryOp< internal::scalar_abs2_op< Scalar >, const Derived > abs2() const
const ImagReturnType imag() const
void applyHouseholderOnTheLeft(const EssentialPart &essential, const Scalar &tau, Scalar *workspace)
RealReturnType real() const
Expression of a fixed-size or dynamic-size sub-vector.
SegmentReturnType tail(Index vecSize)
NumTraits< Scalar >::Real RealScalar
Expression of a fixed-size or dynamic-size block.
void applyHouseholderOnTheRight(const EssentialPart &essential, const Scalar &tau, Scalar *workspace)
void makeHouseholderInPlace(Scalar &tau, RealScalar &beta)
#define EIGEN_STATIC_ASSERT_VECTOR_ONLY(TYPE)