Skip to content

Conversation

thboettc
Copy link
Collaborator

@thboettc thboettc commented Mar 2, 2022

This replaces the recursive determinant function with a templated version to avoid stack size issues. Marked draft for testing.

@danielsibemol @FlorianReiss

@henryiii
Copy link
Member

Is this okay to go in?

@thboettc
Copy link
Collaborator Author

No, but I do think we should replace the matrix inversion in the k-matrix with LU decomposition before the hackathon. I can get this ready to go tomorrow.

@thboettc thboettc changed the title Draft: Add templated determinant function to kMatrixUtils Add templated determinant function and LU decomposition inverse to kMatrixUtils May 19, 2022
@thboettc
Copy link
Collaborator Author

This should be ready to go once all tests pass. I've added the LU decomposition and now use this as the default in the kMatrix code. @henryiii can you have a look? If it's ok with you, I saw we merge it.

Co-authored-by: Henry Schreiner <hschrein@cern.ch>
@henryiii henryiii merged commit 12d150e into master May 19, 2022
@henryiii henryiii deleted the tboettch_template_determinant branch May 19, 2022 21:44
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.

2 participants