Reputation: 11
I want to solve a large sparse matrix equation Ax=b
in MATLAB many times, where A has the same sparsity pattern but different values each time. A is not positive definite but symmetric here.
The computation takes most of the time in my program, so I hope to accelerate it.
What is the best way to reuse the symbolic factorization in MATLAB?
I heard about several options, but not sure which is the best (or possible) way:
Any help is welcomed! Thank you! :)
Upvotes: 1
Views: 171
Reputation: 769
I'm wondering the same thing. So far, I concluded:
and I'm using
https://au.mathworks.com/matlabcentral/answers/497401-pardiso-reuse-symbolic-factorization
which is buggy, at least in the matlab interface:
I'll try to update if I find something.
Upvotes: 0