Solve large linear system of equations with klu function

3 vues (au cours des 30 derniers jours)
Xin
Xin le 11 Juin 2017
Commenté : John D'Errico le 11 Juin 2017
I have a huge sparse function L (10 million*10 million). It is not symmetric. Most off-diagonals are zeros. I want to solve for sol=L\R with matlab. It is very slow. So I tried Cholosky factorization using "klu" function from SuiteSparse. However, it reports "klu mexFunction not found". Does anyone know what's the problem, or have any better suggestions?
  1 commentaire
John D'Errico
John D'Errico le 11 Juin 2017
I don't think you have tried Cholesky, if the matrix is not symmetric. KLU is probably an LU factorization. Regardless, you may not have it properly installed, or are not using it properly. Contacting the source is always the best solution.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by