ihmeuw-msca / msca

Mathematical sciences and computational algorithms
https://ihmeuw-msca.github.io/msca/
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Add matrix method option #11

Closed zhengp0 closed 8 months ago

zhengp0 commented 8 months ago

For large sparse matrix, scipy.sparse.linalg.spsolve will be too slow to work with. We add solve option to allow user to chose cg as one of the option to solve large linear system. The change propagate to the solvers.