-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 lu decomposition of *diagonal matrices #41288
Conversation
This also adds |
@nanosoldier |
Something went wrong when running your job:
|
@nanosoldier |
Your package evaluation job has completed - no new issues were detected. A full report can be found here. cc @maleadt |
@andreasnoack Would you be able to take a quick look? While working on this and the other "clean-up" PRs, I was wondering why we have lazy adjoints or transposes of the |
Gentle bump. |
I've some pending review comments, but first I'd like to ask if these are really useful in the first place? When you call
I'm pretty sure that this has been discussed at least once but, unfortunately, I don't remember the details. I'd guess that it's to allow for future optimizations that weren't implemented initially because of lack of time. |
No, you don't. I'm well aware that these by themselves are not very useful. It was two things that triggered this PR: first, the old open issue mentioned in the OP, and second, the |
Do you think it is worth the extra lines of code that are required to support optimized versions? |
Perhaps not. I'm fine with closing it, except we should remove the |
This adds
lu[!]
methods for all*diagonal
types. As a follow-up to #40831, which madelu
work on AbstractMatrix, this reduces the computational load for the structured cases.Closes JuliaLang/LinearAlgebra.jl#375. Closes JuliaDiff/TaylorSeries.jl#281