MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
Solver for tridiagonal SLAE. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | dgtsl (n, c, d, e, b, info) |
Solver for tridiagonal SLAE.
Solves tridiagonal system of linear algebraic equations. FORTRAN90 version by John Burkardt. Originally from LINPACK.
Definition in file dgtsl.f90.
subroutine dgtsl | ( | integer ( kind = 4 ) | n, |
real ( kind = 8 ), dimension(n) | c, | ||
real ( kind = 8 ), dimension(n) | d, | ||
real ( kind = 8 ), dimension(n) | e, | ||
real ( kind = 8 ), dimension(n) | b, | ||
integer ( kind = 4 ) | info | ||
) |
n | order of the tridiagonal matrix |
b | On input, the right hand side. On output, the solution. |
c | contains the subdiagonal of the tridiagonal matrix in entries C(2:N). On output, C is destroyed. |
d | On input, the diagonal of the matrix. On output, D is destroyed. |
e | contains the superdiagonal of the tridiagonal matrix in entries E(1:N-1). On output E is destroyed. |
info | error flag |
Definition at line 8 of file dgtsl.f90.
Referenced by integration::bblpreproc().