tridiagonale
Tridiagonal, or tridiagonale in Italian, refers to a square matrix in which all nonzero elements lie on the main diagonal and on at most the diagonals immediately above and below it. In other words, every row has nonzero entries only in columns i−1, i, and i+1. An n-by-n tridiagonal matrix thus has at most 3n−2 nonzero elements; a symmetric tridiagonal matrix has at most 2n−1.
The three diagonals are usually described as the subdiagonal (below the main diagonal), the main diagonal, and
Tridiagonal matrices arise naturally from the discretization of one-dimensional problems, such as the finite-difference approximation of
Algorithms exploit the structure of tridiagonal matrices. The Thomas algorithm solves Ax = b in O(n) time
Variants include general, symmetric, Toeplitz, and bordered tridiagonal forms, each with particular structural features and applications