필터 지우기
필터 지우기

Are the algorithms used in mldivide direct solvers?

조회 수: 7 (최근 30일)
Michael Loibl
Michael Loibl 2023년 1월 2일
편집: John D'Errico 2023년 1월 2일
In numerics, it is often distinguished whether a solver is direct or iterative. We are most of the time using "mldivide" (backslash) in Matlab. Are the algorithms used by "mldivide" for any input direct solvers (not matter if (not) sparse, (not) symmetric, (not) banded etc.)?
Thank you for your help!

채택된 답변

John D'Errico
John D'Errico 2023년 1월 2일
편집: John D'Errico 2023년 1월 2일
The algorithms in mldivide are not iterative, in the sense that an iterative algorithm converges to a result, improving upon it at every iteration. Instead, MLDIVIDE uses tools for matrix factorizations. For example, depending on the specific matrix, you might find a Cholesky, a QR, an LU, etc. Even in the case of sparse matrices, the algorithms in mldivide are still not iterative.
Some other tools, such as LSQR, are indeed iterative. But LSQR is not part of mldivide.

추가 답변 (1개)

Torsten
Torsten 2023년 1월 2일
Are the algorithms used by "mldivide" for any input direct solvers (not matter if (not) sparse, (not) symmetric, (not) banded etc.)?
Yes.
For the algorithms used in the different cases, see

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by