Energy-Pathways-Group / GLOceanKit

Tools for physical oceanography in Matlab and Objective-C
22 stars 11 forks source link

Write asynchronous code with Matlab's new Future class #49

Open JeffreyEarly opened 2 years ago

JeffreyEarly commented 2 years ago

Should be able to speed up the nonlinear computation pretty easily, https://www.mathworks.com/help/releases/R2021b/matlab/matlab_prog/asynchronous-functions.html

Of course, this can be done on-top of using the fast DST and DCT algorithms.

JeffreyEarly commented 1 month ago

There are plenty of nuances when apply this to handle classes, check out this discussion for details. In particular, this documentation has useful information.