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,
91 essential = tail / (c0 - beta);
92 tau =
conj((beta - c0) / beta);
111 template<
typename Derived>
112 template<
typename EssentialPart>
114 const EssentialPart& essential,
126 tmp.noalias() = essential.adjoint() * bottom;
128 this->
row(0) -= tau * tmp;
129 bottom.noalias() -= tau * essential * tmp;
148 template<
typename Derived>
149 template<
typename EssentialPart>
151 const EssentialPart& essential,
163 tmp.noalias() = right * essential.conjugate();
165 this->
col(0) -= tau * tmp;
166 right.noalias() -= tau * tmp * essential.transpose();
172 #endif // EIGEN_HOUSEHOLDER_H
const AutoDiffScalar< DerType > & conj(const AutoDiffScalar< DerType > &x)
internal::traits< Derived >::Scalar Scalar
EIGEN_DEVICE_FUNC SegmentReturnType tail(Index n)
This is the const version of tail(Index).
A matrix or vector expression mapping an existing array of data.
EIGEN_DEVICE_FUNC const SqrtReturnType sqrt() const
Namespace containing all symbols from the Eigen library.
void makeHouseholder(EssentialPart &essential, Scalar &tau, RealScalar &beta) const
void applyHouseholderOnTheLeft(const EssentialPart &essential, const Scalar &tau, Scalar *workspace)
Expression of a fixed-size or dynamic-size sub-vector.
NumTraits< Scalar >::Real RealScalar
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Abs2ReturnType abs2() const
NumTraits< Scalar >::Real RealScalar
Expression of a fixed-size or dynamic-size block.
void applyHouseholderOnTheRight(const EssentialPart &essential, const Scalar &tau, Scalar *workspace)
EIGEN_DEVICE_FUNC const ImagReturnType imag() const
void makeHouseholderInPlace(Scalar &tau, RealScalar &beta)
#define EIGEN_STATIC_ASSERT_VECTOR_ONLY(TYPE)
ScalarWithExceptions conj(const ScalarWithExceptions &x)