Solve a tridiagonal matrix

Share:

Description

use the tridiagonal matrix algorithm to solve a tridiagonal matrix

Usage

1
tridiagmatrix(L, D, U, b)

Arguments

L

vector of entries below the main diagonal

D

vector of entries on the main diagonal

U

vector of entries above the main diagonal

b

vector of the right-hand side of the linear system

Details

tridiagmatrix uses the tridiagonal matrix algorithm to solve a tridiagonal matrix.

Value

the solution vector

See Also

Other linear: choleskymatrix, detmatrix, gdls, invmatrix, iterativematrix, lumatrix, refmatrix, rowops, vecnorm

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.