Skip to content
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

[WIP] GIFT gaussian elimination testing #1505

Draft
wants to merge 5 commits into
base: development
Choose a base branch
from

Conversation

yut23
Copy link
Collaborator

@yut23 yut23 commented Mar 6, 2024

I ported the Fortran code to Python, then added some C++ and Python codegen for us to play with.

It's currently set up to generate code for aprox13. With the current array ordering (species then enuc), it produces the same code as a non-sparse matrix (1118 statements), but if we move enuc before the species, it's a lot better at 302 statements.

@BenWibking
Copy link
Collaborator

BenWibking commented Oct 3, 2024

For future reference, the original method paper:
Gustavson, Liniger, and Willoughby. "Symbolic Generation of an Optimal Crout Algorithm for Sparse Systems of Linear Equations." JACM (1970) https://dl.acm.org/doi/pdf/10.1145/321556.321565.

They claim that in typical cases, the complexity goes from $\mathcal{O}(N^3)$ to $\mathcal{O}(N^2)$.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants