Speeding up matrix exponential and matrix multiplication

You don’t need the exponential here, just the expm. Remove the exponential calculation and use expv!

1 Like