Skip to content

num::hessenberg_decomposition

Defined in header <linear/factorization/hessenberg.hpp>

class hessenberg_decomposition;

Upper Hessenberg decomposition of a square matrix: A = Q H Q^T.

Members

member description
explicit hessenberg_decomposition(const mat<real> &A) Compute the Hessenberg decomposition of square matrix A, preferring LAPACK (dgehrd/dorghr) when configured, else the in-tree vectorized Householder elimination. To force one explicitly, call num::lapack::hessenberg/num::seq::hessenberg.
hessenberg_decomposition(const mat<real> &A, bool use_lapack) Selects LAPACK vs. the sequential path explicitly. Prefer the free functions num::hessenberg/num::lapack::hessenberg/num::seq::hessenberg.
idx size() const noexcept
const mat<real> &H() const noexcept
const mat<real> &Q() const noexcept