ezp
|
Solver for general band matrices. More...
#include <pdbsv.hpp>
Solver for general band matrices.
pdbsv
solver supports KL=0 and/or KU=0, a zero (half) bandwidth would lead to unwanted warning message from ScaLAPACK. It solves the system of linear equations A*X=B
with a general band matrix A
. The band matrix A
has KL
sub-diagonals and KU
super-diagonals. It shall be stored in the following format. The band storage scheme is illustrated by the following example, when M=N=6
, KL=2
, KU=1
.
The lead dimension should be (KL+KU+1)
.
With zero based indexing, for a general band matrix A
, the element at row i
and column j
is stored at A[IDX(i, j)]
.