特牛网址导航

python生成三对角矩阵_追赶法求解三对角矩阵(C/C++/python/matlab/Fortran 90)-CSDN博客

网友收藏
文章浏览阅读1k次。追赶法求解过程import numpy as np## Tri Diagonal Matrix Algorithm(a.k.a Thomas algorithm) solverdef TDMAsolver(a, b, c, d):'''TDMA solver, a b c d can be NumPy array type or Python list type.refer to http://e..._python求解三对角矩阵