ZHBGV Example

To find all the eigenvalues of the generalized band Hermitian eigenproblem Ax = $ \lambda$Bx, where

A = $\displaystyle \left(\vphantom{
\begin{array}{cccc}
-1.13 & 1.94 - 2.10 i & -1...
...- 0.16 i \\
0 & -0.67 - 0.34 i & -1.10 + 0.16 i & 0.50
\end{array} }\right.$$\displaystyle \begin{array}{cccc}
-1.13 & 1.94 - 2.10 i & -1.40 + 0.25 i & 0 \...
... & -1.10 - 0.16 i \\
0 & -0.67 - 0.34 i & -1.10 + 0.16 i & 0.50
\end{array}$$\displaystyle \left.\vphantom{
\begin{array}{cccc}
-1.13 & 1.94 - 2.10 i & -1...
...- 0.16 i \\
0 & -0.67 - 0.34 i & -1.10 + 0.16 i & 0.50
\end{array} }\right)$

and

B = $\displaystyle \left(\vphantom{
\begin{array}{cccc}
9.89 & 1.08 - 1.73 i & 0 &...
...2.65 & -0.33 + 2.24 i \\
0 & 0 & -0.33 - 2.24 i & 2.17
\end{array} }\right.$$\displaystyle \begin{array}{cccc}
9.89 & 1.08 - 1.73 i & 0 & 0 \\
1.08 + 1....
...0.29 i & 2.65 & -0.33 + 2.24 i \\
0 & 0 & -0.33 - 2.24 i & 2.17
\end{array}$$\displaystyle \left.\vphantom{
\begin{array}{cccc}
9.89 & 1.08 - 1.73 i & 0 &...
...2.65 & -0.33 + 2.24 i \\
0 & 0 & -0.33 - 2.24 i & 2.17
\end{array} }\right)$.

Example program
Example data
Example results