Tridiagonal Matrix Algorithm

版本 6.0.1 (253.8 KB) 作者: Tamas Kis
Solves the tridiagonal linear system Ax = d for x using two separate implementations of the tridiagonal matrix algorithm.
1.2K 次下载
更新时间 2022/10/23

Tridiagonal Matrix Algorithm View Tridiagonal Matrix Algorithm on File Exchange



tridiagonal_matrix

Solves the tridiagonal linear system for using the matrix implementation of the tridiagonal matrix algorithm.

Syntax

x = tridiagonal_matrix(A,d)

Description

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



tridiagonal_vector

Solves the tridiagonal linear system for using the vector implementation of the tridiagonal matrix algorithm.

Syntax

x = tridiagonal_vector(a,b,c,d)

Description

x = tridiagonal_vector(a,b,c,d) solves the tridiagonal linear system for , where is a tridiagonal matrix defined using the tridiagonal vectors (, , and ) and where .



Tridiagonal Matrix Convention

For these implementations, 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

  • See "EXAMPLES.mlx" or the "Examples" tab on the File Exchange page for examples.
  • See "Tridiagonal_Matrix_Algorithm.pdf" (also included with download) for the technical documentation.

引用格式

Tamas Kis (2024). Tridiagonal Matrix Algorithm (https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v6.0.1), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2021a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
6.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v6.0.1

6.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v6.0.0

5.1.2

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v5.1.2

5.1.1

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v5.1.1

5.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v5.1.0

5.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v5.0.2

5.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v5.0.1

5.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v5.0.0

4.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v4.0.0

3.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v3.0.2

3.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v3.0.1

3.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v3.0.0

2.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v2.0.2

2.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v2.0.1

2.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v2.0.0

1.0.4

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v1.0.4

1.0.3

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v1.0.3

1.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v1.0.2

1.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v1.0.1

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库