How to get Solver type when performing \ operation
이전 댓글 표시
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
Mario Malic
2020년 10월 14일
See mldivide documentation, there's an algorithm shown there.
digiam
2020년 10월 15일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Mathematics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!