Skip to content

num::hessenberg_shifted_substitute

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

template <std::floating_point T, class Index>
void hessenberg_shifted_substitute(std::complex<T> *y, const std::complex<T> *work,
                                   const Index *piv, const std::complex<T> *b,
                                   idx n) noexcept;

Solve with the factors of a shifted Hessenberg matrix: \(y \leftarrow (s I - H)^{-1} b\). y and b may alias.