image thumbnail

Tridiagonal Matrix Algorithm (Thomas Alg.) (tridiagonal)

versión 5.1.0 (246 KB) por Tamas Kis
Solves the tridiagonal linear system Ax=d for x using the tridiagonal matrix algorithm (i.e. the Thomas algorithm).

392 descargas

Actualizada 17 Apr 2022

De GitHub

Ver licencia en GitHub

tridiagonal View Tridiagonal Matrix Algorithm (Thomas Alg.) (tridiagonal) on File Exchange

Solves the tridiagonal linear system for using the tridiagonal matrix algorithm (i.e. the Thomas algorithm).

Syntax

x = tridiagonal(A,d)

Description

x = tridiagonal(A,d) solves the tridiagonal linear system for , where is a tridiagonal matrix and .

Tridiagonal Matrix Convention

For this implementation, I use the following convention for denoting the elements of the tridiagonal matrix :

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.

Examples and Additional Documentation

Citar como

Tamas Kis (2022). Tridiagonal Matrix Algorithm (Thomas Alg.) (tridiagonal) (https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v5.1.0), GitHub. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2021a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Para consultar o informar de algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o informar de algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.