문제

Does anyone know what method scipy.linalg.solve_banded uses to solve the system of equations? The documentation does not state the solution method used by the function. Usually the Thomas algorithm, a.k.a. TDMA, is used for these types of systems but I was wondering if this Scipy function uses some other solution method.

도움이 되었습니까?

해결책

The Github code shows that scipy uses the lapack routine gbsv() to solve this. You can read about gbsv() here and here.

I am not sure if this the same as the Thomas algorithm. Looks like both use LU decomposition, though.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top