-
Notifications
You must be signed in to change notification settings - Fork 240
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
Add QR algorithm #472
Open
Aweptimum
wants to merge
10
commits into
markrogoyski:master
Choose a base branch
from
Aweptimum:qr-algorithm
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add QR algorithm #472
Commits on Nov 6, 2023
-
Replace array_search with floating-point filter
array_search seems to fail in most cases when looking for a float in an array of floats. And even if it does find a match, if the key is 0, php evaluates `!0` to true. To find a match, we can instead loop through and compare the numbers with `Arithmetic::almostEqual` and then explicitly check if `$key === false`
Configuration menu - View commit details
-
Copy full SHA for cd45a97 - Browse repository at this point
Copy the full SHA cd45a97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c75688 - Browse repository at this point
Copy the full SHA 7c75688View commit details -
Add NumericaMatrix->upperHessenberg
Converts a matrix to hessenberg form using householder reflections
Configuration menu - View commit details
-
Copy full SHA for 22ffbbf - Browse repository at this point
Copy the full SHA 22ffbbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fb768a - Browse repository at this point
Copy the full SHA 9fb768aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44637c3 - Browse repository at this point
Copy the full SHA 44637c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51ba07e - Browse repository at this point
Copy the full SHA 51ba07eView commit details -
Shift QR by Wilkinson, refactor a bit
The Wilkinson shift accelerates the rate of convergence for the QR algorithm - it's in the static calcShift helper Additionally, moved the iteration to an inner helper function to hide the $values parameter from the public method
Configuration menu - View commit details
-
Copy full SHA for edb1bb3 - Browse repository at this point
Copy the full SHA edb1bb3View commit details -
Just gets the eigenvalues from the qr algorithm and feeds them to the eigenvectors method
Configuration menu - View commit details
-
Copy full SHA for 51a36e9 - Browse repository at this point
Copy the full SHA 51a36e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b445d9 - Browse repository at this point
Copy the full SHA 6b445d9View commit details -
Add failing eigenvector cases to eigenvalues
They work, so the problem must be in the eigenvectors method
Configuration menu - View commit details
-
Copy full SHA for 2f08e84 - Browse repository at this point
Copy the full SHA 2f08e84View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.