How to get Solver type when performing \ operation
Show older comments
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 Comments
Mario Malic
on 14 Oct 2020
See mldivide documentation, there's an algorithm shown there.
digiam
on 15 Oct 2020
Answers (0)
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!