num::expv¶
Defined in header <linear/expv/expv.hpp>
template <class Op>
requires linear_operator<Op, vec<real>, vec<real>>
vec<real> expv(real t, const Op &A, const vec<real> &v, int m_max = 30,
real tol = 1e-8); // (1)
vec<real> expv(real t, const spmat &A, const vec<real> &v, int m_max = 30,
real tol = 1e-8); // (2)
Compute the action of the matrix exponential from a Krylov subspace: \(\exp(t A) v\).