Tridiagonal Matrix Algorithm (Thomas Alg.) (tridiagonal)
Updated 17 Apr 2022
x = tridiagonal(A,d)
Most other references have 's ranging from to both in the definition of the tridiagonal matrix and in the algorithm used to solve the corresponding linear system. In this implementation, I have the 's ranging from to ; this makes the algorithm slightly more straightforward to implement.
- See "EXAMPLES.mlx" or the "Examples" tab on the File Exchange page for examples.
- See "Tridiagonal_Matrix_Algorithm__Thomas_Algorithm_.pdf" (also included with download) for the technical documentation.
Tamas Kis (2022). Tridiagonal Matrix Algorithm (Thomas Alg.) (tridiagonal) (https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v5.1.0), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!