TMB Documentation
v1.9.11
|
Matrix exponential of generator matrix multiplied by vector. More...
#include <sparse_matrix_exponential.hpp>
Public Member Functions | |
T | getN (T rho) |
Uniformization Grassmann (1977) eq. 10. => error < 1e-4 rho=abs(max(diag(Q))) | |
vec | operator() (vec x) |
Evaluate x^T*exp(Q) | |
Matrix exponential of generator matrix multiplied by vector.
This method assumes Q is a generator matrix, i.e rowsums(Q)=0
, diagonal elements are negative, other entries are non-negative. Uniformization is used to determine the number of terms in series.
x^T * exp(Q)
Definition at line 242 of file sparse_matrix_exponential.hpp.