Skip to content

num::hessenberg_shifted_factor

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

template <std::floating_point T, class Index>
void hessenberg_shifted_factor(std::complex<T> *work, const T *H, std::complex<T> shift,
                               idx n, Index *piv) noexcept;

Factor a shifted Hessenberg matrix by LU, in place: \(s I - H = P L U\), \(O(n^2)\).