GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - tamaskis/tridiagonal-MATLAB: Solves the tridiagonal linear system Ax = d for x using the tridiagonal matrix algorithm (i.e. the Thomas algorithm).

BranchesTags
Open more actions menu

Latest commit

 

History

80 Commits
80 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
EXAMPLES.mlx
EXAMPLES.mlx
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
Tridiagonal_Matrix_Algorithm.pdf
Tridiagonal_Matrix_Algorithm.pdf
 
 
tridiagonal_matrix.m
tridiagonal_matrix.m
 
 
tridiagonal_vector.m
tridiagonal_vector.m
 
 

Repository files navigation

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.

About

Solves the tridiagonal linear system Ax = d for x using the tridiagonal matrix algorithm (i.e. the Thomas algorithm).

Topics

direct-solverlinear-algebrathomas-algorithmtridiagonaltridiagonal-matrix-algorithm

Resources

Readme
MIT license
Activity

Stars

13 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.