-
-
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
cholfact and bkfact fail for non-<:StridedMatrix types #18972
Comments
Many indefinite cases won't necessarily admit a diagonal-D factorization, will they? Though I think once you need Bunch-Kaufman pivoting then you can't necessarily remain within a fixed number of subdiagonals unless you use the more recent banded retraction factorization, IIRC. |
Good point --- I had only the positive- and quasi-definite cases in mind. Best! |
Similar to #18970,
cholfact
andbkfact
fail for matrices that are not subtypes ofStridedMatrix
. Contrast withqrfact
, which succeeds for many more matrix types. (The difference seems to be thatqrfact
has a fallback that gracefully handles<:AbstractArray
s more generally. Fixing this may be as simple as adding such ~five-line fallbacks forbkfact
andcholfact
.) Best!(Yes,
LDLt
would be better for [edit: positive- or quasi-definite]SymTridiagonal
s.) (Edited to includecholfact
.)The text was updated successfully, but these errors were encountered: