SpinW / spinw

SpinW Matlab library for spin wave calculation
http://www.spinw.org
GNU General Public License v3.0
35 stars 15 forks source link

Use sw_mtimesx instead of mmat #123

Closed rebeccafair closed 1 year ago

rebeccafair commented 1 year ago

As a result of https://github.com/SpinW/spinw/issues/74 (results in https://github.com/SpinW/performance) there are a handful of mmat operations that each take 2-5% of the performance time. An easy performance improvement (if mex is enabled) is to replace these with sw_mtimesx.

mducle commented 1 year ago

PR#125 merged but did not include changing mmat to sw_mtimesx because there was negligible performance improvements. Closed as not planned.