Does the A\b use Thomas algorithm for solving, when A is tridiagonal?

조회 수: 3 (최근 30일)
Mateusz Przytarski
Mateusz Przytarski 2017년 12월 18일
답변: Jan 2017년 12월 18일
And if so, does it do even if A isn't diagonally dominant? The reason I ask is that I made a function which solves Ax=b using GEPP when A is tridiagonal, and want to find good examples of matrices when it doesn't work properly.
  댓글 수: 1
David Goodmanson
David Goodmanson 2017년 12월 18일
Hi Mateusz, take a look at 'doc mldivide' and scroll down to the flow charts. My interpretation is the obvious one, yes for sparse, no for full although they don't give details of the solvers.

댓글을 달려면 로그인하십시오.

답변 (1개)

Jan
Jan 2017년 12월 18일
As David has mentioned already, all we can know about mldivide is mentioned in doc mldivide. The license condition forbid a reverse engineering or decompiling of the built-in functions, so how could we know more than the published docs?
If you really need to know what's going on inside, you can ask the programmer: Use the "Contact Us" link on this page.

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by