How to get Solver type when performing \ operation
Ältere Kommentare anzeigen
I am solving a least squares system of equations with x=A\b. Matrix A should be a positive semi-definite sparse matrix that needs to be solved with Cholesky.
However, at the inital step it has a negative eigenvalue and Matlab switch solver internally in order to find a solution. After this initial step, all the eigenvalues switch to positve and the system is finally positive semi-definite, I think that here Cholesky takes place.
Is there anyway to see what is the solver that Matlab is using when performing the \ operation?
3 Kommentare
Mario Malic
am 14 Okt. 2020
See mldivide documentation, there's an algorithm shown there.
digiam
am 15 Okt. 2020
Antworten (0)
Kategorien
Mehr zu Mathematics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!