-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible speedup for linalg.solve #79
Comments
Hi @ksnxr , Thanks for opening the pull request. solve(A) (with the default Auto algorithm) uses one of Cholesky, LU, CG, GMRES to solve the linear system. The matrix listed is very small, but the runtime differences are a bit surprising so we should take a look into it. |
I played around a bit. There are expressions for "solve" for different backends e.g. Line 56 in 7f0ae77
Looking at the code for inv, it seems complicated to properly treat the individual cases. I might leave it for now |
Looking at the code
cola/cola/linalg/inverse/inv.py
Line 20 in 7f0ae77
the outputs are
I could also try to submit a pull request later. Thanks
The text was updated successfully, but these errors were encountered: