-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
rank(::QRPivoted) method? #1052
Comments
Hi, I am trying to make an attempt on this, I have a question tho... Could you explain the motivation behind introducing a rank calculation based on the pivoted QR decomposition? |
It's way faster than the SVD (used by default for See, for example, this discussion. |
This |
Similarly, it might be nice to have a |
Since pivoted QR is a rank-revealing calculation, it seems like we should have a
LinearAlgebra.rank
method that works directly on it. Something like:should do it, no?
Of course, this won't necessarily return the same thing as the SVD-based rank (and is less reliable than SVD — it shouldn't be the default method for
::AbstractMatrix
), but inconsistency is the fate of all numerical rank computations. In typical cases it should be close, one hopes, and if you have the QR you should be able to explicitly ask what numerical rank it reveals.The text was updated successfully, but these errors were encountered: