Skip to content

num::shift

Defined in header <linear/solvers/auto_resolvent.hpp>, <linear/solvers/hessenberg_resolvent.hpp>, <linear/solvers/sparse_resolvent.hpp>

friend hessenberg_shifted_lu shift(const hessenberg_resolvent &R, cplx s);  // (1)

friend sparse_shifted_lu shift(const sparse_resolvent &R, cplx s);  // (2)

friend auto_shifted_lu shift(const auto_resolvent &R, cplx s);  // (3)

(1) Factor \(sI - A\) in \(O(n^2)\).

(2) Factor \(sI - A\) numerically, reusing the symbolic analysis.

(3) Factor \(sI - A\).