Git Product home page Git Product logo

tridiagonal-matlab's Introduction

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.

tridiagonal-matlab's People

Contributors

tamaskis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

xiaohumengdie

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.