tridisolve.m
来自「有关matlab的电子书籍有一定的帮助希望有用」· M 代码 · 共 21 行
M
21 行
%TRIDISOLVE Solve A*x = b where A is a square, symmetric tridiagonal matrix.
% X = TRIDISOLVE(E,D,B,N) is the solution to the system
% A*X = B
% where A is an N-by-N symmetric, real, tridiagonal matrix given by
% A = diag(E,-1) + diag(D,0) + diag(E,1)
% Algorithm from Golub and Van Loan, "Matrix Computations", 2nd Edition,
% p.156.
% Assumes A is non-singular. If A is singular, a warning is issued and
% results may be inaccurate.
%
% Called by DPSS.
%
% See also TRIDIEIG.
% MEX-file implementation: T. Krauss, D. Orofino, 4/22/97
% Copyright (c) 1988-98 by The MathWorks, Inc.
% $Revision: 1.2 $
% MEX-file.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?