Is there any known way to compute the element-wise logarithm of a matrix exponential more efficiently?
Motivation:
I am trying to an optimization problem (basically finding a specific Markov embedding). For this I have to evaluate the element-wise logarithm of a matrix exponential a few million times.