Skip to content

num::hessenberg_decomposition

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

class hessenberg_decomposition;

Reduction of a matrix to Hessenberg form: \(A = Q H Q^T\), \(H\) upper Hessenberg.

Members

member description
explicit hessenberg_decomposition(const mat<real> &A) Reduce a matrix to Hessenberg form, using LAPACK when available: \(A = Q H Q^T\).
hessenberg_decomposition(const mat<real> &A, bool use_lapack) Reduce a matrix to Hessenberg form, choosing LAPACK or the in-tree code explicitly.
idx size() const noexcept
const mat<real> &H() const noexcept
const mat<real> &Q() const noexcept