num::restarted_expv¶
Defined in header <linear/expv/expv.hpp>
template <class Op>
requires linear_operator<Op, vec<real>, vec<real>>
vec<real> restarted_expv(real t, const Op &A, const vec<real> &v,
expv_options options = {}); // (1)
vec<real> restarted_expv(real t, const spmat &A, const vec<real> &v,
expv_options options = {}); // (2)
Compute \(\exp(t A) v\) by restarted Krylov steps of adaptive length.