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

Added faster method for inverting symmetric matrices #56

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JCGoran
Copy link
Owner

@JCGoran JCGoran commented Apr 6, 2023

Fixes #55.
Currently only the FisherDerivative.fisher_matrix method uses it, but it could probably also be used by FisherMatrix.inverse as well.

@JCGoran JCGoran added the derivatives Related to the derivatives module label Apr 6, 2023
@JCGoran JCGoran self-assigned this Apr 6, 2023
Fixes #55.
The implementation was taken from here:
https://stackoverflow.com/a/58719188
with some minor improvements.
It also raises a `LinAlgError` if the matrix is singular.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
derivatives Related to the derivatives module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add faster inversion of covariance
1 participant