MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
hessenberg.hpp File Reference

Namespaces

namespace  mtl

Functions

template<typename Accumulator = void, Matrix M>
void mtl::hessenberg_factor (M &A, vec::dense_vector< typename M::value_type > &tau)
 Reduce A to upper Hessenberg form in-place.
template<Matrix M>
auto mtl::hessenberg_extract_H (const M &A)
 Extract explicit upper Hessenberg matrix from factored A.
template<typename Accumulator = void, Matrix M>
auto mtl::hessenberg_extract_Q (const M &A, const vec::dense_vector< typename M::value_type > &tau)
 Form the unitary Q of A = Q H Q^H from the reflectors hessenberg_factor() left in the strict lower triangle of A and in tau (LAPACK orghr).
template<typename Accumulator = void, Matrix M>
auto mtl::hessenberg (const M &A)
 Reduce A to upper Hessenberg form and return H directly.
template<typename Accumulator = void, Matrix M>
void mtl::tridiagonalize (M &A, vec::dense_vector< typename M::value_type > &tau)
 Reduce a symmetric (or Hermitian) matrix to tridiagonal form in-place.