thomas_algorithm: Thomas algorithm for solving tridiagonal linear systems....

Description Usage Arguments Details

View source: R/RcppExports.R

Description

Thomas algorithm for tridiagonal linear systems. This can be used to solve PDEs arising from Feynman-Kac connections.

Usage

1
thomas_algorithm(a, b, c, d)

Arguments

a

lower diagonal of matrix

b

diagonal of matrix

c

upper diagonal of matrix

d

vector on RHS of equation

Details

The algorithm is on wikipedia and quite straightforward.


shill1729/numerics documentation built on April 17, 2021, 6:46 p.m.