dexpmv
- dexpmv(M, dM)[source]
Compute the Matrix exponential F = e^M and its derivative dF.
User must provide M and its derivative dM. If the argument dM is a vector of partials then dF will be the respective partial vector. This is done using a Pade Approximat with scaling and squaring.
- Parameters:
M (
np.ndarray
) – Matrix to exponentiate.dM (
np.ndarray
) – Derivative(s) of M.
- Returns:
- Tuple containing
F (np.ndarray): Exponentiated matrix, i.e. e^M.
dF (np.ndarray): Derivative(s) of F.
- Return type:
tuple
References
Brančík, Lubomír. “Matlab programs for matrix exponential function derivative evaluation.” Proc. of Technical Computing Prague 2008 (2008): 17-24.