tridiagmatrix {cmna}R Documentation

Solve a tridiagonal matrix

Description

use the tridiagonal matrix algorithm to solve a tridiagonal matrix

Usage

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()


[Package cmna version 1.0.5 Index]