Batch matrix exponential computation with CPU/GPU

Calculate several matrix exponentials at a time with Pade approximation

Download
Download

You are now following this Submission

Cite As

Yi-Hao Chen (2026). Batch matrix exponential computation with CPU/GPU (https://in.mathworks.com/matlabcentral/fileexchange/67668-batch-matrix-exponential-computation-with-cpu-gpu), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: mmx, Matrix exponential

Categories

Find more on Linear Algebra in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.3

Bug fixed. I compared a bunch of random matrices and it works well. It should be fine now.

Download
1.0.1

Still has bugs

Download
1.0.1-1

Bug fixed.
Besides, the previous comment on the bug is wrong. It's that the calculation of the number of terms of Pade approximation is wrong.

Download
1.0.1-0

Please stop using this. I found a bug if the dimension of the input array is more than 4. That is to say, it can only deal with (n,n,num_matrix) cases

Download
1.0.0

Put in the benchmark for the comparison of Matlab expm with for loop and this "myexpm_" function.

Download
1.0.0-1

Fix a bug in multslash

Download
1.0.0-0

Modify user information

Download