The Wayback Machine - https://web.archive.org/web/20220404160521/https://github.com/arrayfire/arrayfire/issues/3099
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

Add LDLT (Bunch-Kaufman) factorization #3099

Open
cschreib-ibex opened this issue Mar 3, 2021 · 0 comments
Open

Add LDLT (Bunch-Kaufman) factorization #3099

cschreib-ibex opened this issue Mar 3, 2021 · 0 comments
Labels

Comments

@cschreib-ibex
Copy link
Contributor

@cschreib-ibex cschreib-ibex commented Mar 3, 2021

ArrayFire offers a number of matrix factorization routines, including Cholesky, LU, QR, and SVD. One notable missing factorization is the LDLT (or Bunch-Kaufman) factorization. It would be useful if this was available.

Description

LDLT factorization corresponds to the LAPACK sytrf function. It is implemented in cuSolver. I don't know about OpenCL. The advantage of this factorization over Cholesky is that it improves stability, possibly at the expense of performance, but it is still faster than alternatives like SVD.

For example, Matlab's backslash operator tries to solve matrix equations for symmetric matrices with a Cholesky decomposition first, and when this fails, falls back to LDLT.

@cschreib-ibex cschreib-ibex changed the title Add LDLT (Bunch- Add LDLT (Bunch-Kaufman) factorization Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant