ZGBSV Example

To solve the equations

Ax = b,

where A is the band matrix

A = $\displaystyle \left(\vphantom{
\begin{array}{cccc}
-1.65 + 2.26 i & -2.05 - 0...
....33 - 1.04 i \\
0 & 0 & 4.48 - 1.09 i & -0.46 - 1.72 i
\end{array} }\right.$$\displaystyle \begin{array}{cccc}
-1.65 + 2.26 i & -2.05 - 0.85 i & 0.97 - 2.8...
....94 i & 3.33 - 1.04 i \\
0 & 0 & 4.48 - 1.09 i & -0.46 - 1.72 i
\end{array}$$\displaystyle \left.\vphantom{
\begin{array}{cccc}
-1.65 + 2.26 i & -2.05 - 0...
....33 - 1.04 i \\
0 & 0 & 4.48 - 1.09 i & -0.46 - 1.72 i
\end{array} }\right)$

and

b = $\displaystyle \left(\vphantom{
\begin{array}{cc}
-1.06 + 21.50 i \\
-22.72 - 53.90 i \\
28.24 - 38.60 i \\
-34.56 + 16.73 i
\end{array} }\right.$$\displaystyle \begin{array}{cc}
-1.06 + 21.50 i \\
-22.72 - 53.90 i \\
28.24 - 38.60 i \\
-34.56 + 16.73 i
\end{array}$$\displaystyle \left.\vphantom{
\begin{array}{cc}
-1.06 + 21.50 i \\
-22.72 - 53.90 i \\
28.24 - 38.60 i \\
-34.56 + 16.73 i
\end{array} }\right)$.

Details of the LU factorization of A are also output.

Example program
Example data
Example results