11 #ifndef EIGEN_HOUSEHOLDER_H 12 #define EIGEN_HOUSEHOLDER_H 41 template<
typename Derived>
46 makeHouseholder(essentialPart, tau, beta);
64 template<
typename Derived>
65 template<
typename EssentialPart>
68 EssentialPart& essential,
93 essential = tail / (c0 - beta);
94 tau =
conj((beta - c0) / beta);
113 template<
typename Derived>
114 template<
typename EssentialPart>
117 const EssentialPart& essential,
129 tmp.noalias() = essential.adjoint() * bottom;
131 this->
row(0) -= tau * tmp;
132 bottom.noalias() -= tau * essential * tmp;
151 template<
typename Derived>
152 template<
typename EssentialPart>
155 const EssentialPart& essential,
167 tmp.noalias() = right * essential;
169 this->
col(0) -= tau * tmp;
170 right.noalias() -= tau * tmp * essential.adjoint();
176 #endif // EIGEN_HOUSEHOLDER_H
const AutoDiffScalar< DerType > & conj(const AutoDiffScalar< DerType > &x)
internal::traits< Derived >::Scalar Scalar
A matrix or vector expression mapping an existing array of data.
Namespace containing all symbols from the Eigen library.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedSegmentReturnType< internal::get_fixed_value< NType >::value >::Type tail(NType n)
EIGEN_DEVICE_FUNC void makeHouseholder(EssentialPart &essential, Scalar &tau, RealScalar &beta) const
EIGEN_DEVICE_FUNC void applyHouseholderOnTheRight(const EssentialPart &essential, const Scalar &tau, Scalar *workspace)
AnnoyingScalar conj(const AnnoyingScalar &x)
Expression of a fixed-size or dynamic-size sub-vector.
EIGEN_DEVICE_FUNC void makeHouseholderInPlace(Scalar &tau, RealScalar &beta)
NumTraits< Scalar >::Real RealScalar
EIGEN_CONSTEXPR Index size(const T &x)
#define EIGEN_DEVICE_FUNC
NumTraits< Scalar >::Real RealScalar
EIGEN_DEVICE_FUNC void applyHouseholderOnTheLeft(const EssentialPart &essential, const Scalar &tau, Scalar *workspace)
Expression of a fixed-size or dynamic-size block.
EIGEN_DEVICE_FUNC const ImagReturnType imag() const
Jet< T, N > sqrt(const Jet< T, N > &f)
#define EIGEN_STATIC_ASSERT_VECTOR_ONLY(TYPE)
EIGEN_DEVICE_FUNC bool abs2(bool x)