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

Generic LDL' factorization #203

Closed
mschauer opened this issue Apr 23, 2015 · 11 comments
Closed

Generic LDL' factorization #203

mschauer opened this issue Apr 23, 2015 · 11 comments
Assignees

Comments

@mschauer
Copy link
Contributor

It would be nice to have a the semidefinite Cholesky or LDL' decomposition, which allows semidefinite matrices, is more stable and avoids computation of square roots. This makes most sense as generic julia algorithm, because for BLAS floats pivoted Cholesky does the trick. I remember that pivoting was difficult for abstract matrices.
cc @andreasnoack

@andreasnoack andreasnoack self-assigned this Apr 27, 2015
@andreasnoack
Copy link
Member

I plan to add this when time allows. The algorithms are not demanding, but the auxiliary methods and tests will take some time.

@ohinder
Copy link

ohinder commented May 24, 2015

this would be very very useful. especially since it is one of the best ways to factorize sparse symmetric matrices.

@Sacha0
Copy link
Member

Sacha0 commented Dec 22, 2016

Unlikely to receive attention prior to 0.6. Best!

@Nosferican
Copy link

As a clarification, the feature request is a Cholesky LDLt decomposition for abstract matrices including dense matrices?

@mschauer
Copy link
Contributor Author

Yes, exactly.

@mfalt
Copy link
Contributor

mfalt commented Aug 28, 2018

I've been hitting the problem of factorizing quasi-definite matrices several times. It is supported for sparse matrices through CHOLMOD, but not for dense.
I am ready to take a stab at this, does anyone have a good reference for implementing LDLt for definite and quasidefinite matrices?

@andreasnoack
Copy link
Member

Can't you use bunchkaufman? (Not that I'm against a Julia implementation.)

@mfalt
Copy link
Contributor

mfalt commented Aug 28, 2018

@andreasnoack Yes, that is usually a good alternative, but it is slightly annoying to have to dispatch and handle different types of factorizations to have efficient code for sparse and dense matrices.

@chriscoey
Copy link

is there a generic dense symmetric indefinite factorization available? (for eg BigFloat dense symmetric indefinite matrices)

@mschauer
Copy link
Contributor Author

I have to admit, I never really missed this since opening the issue, because it might be useful for symmetric indefinite matrices, but doesn't really help with semidefinite matrices unlike I thought then.

@ViralBShah
Copy link
Member

Migrated this to GenericLinearAlgebra.jl in JuliaLinearAlgebra/GenericLinearAlgebra.jl#87

@KristofferC KristofferC transferred this issue from JuliaLang/julia Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants