Solve of tridiagonal system of equations
The tridiagonal matrix algorithm (TDMA), also known as the Thomas algorithm, is a simplified form of Gaussian elimination that can be used to solve tridiagonal systems of equations. Example shows how to extract diagonals of the matrix and how to use it to calculate the result.