ZHESVX Example

To solve the equations

AX = B,

where A is the Hermitian matrix

A = $\displaystyle \left(\vphantom{
\begin{array}{cccc}
-1.84 & 0.11 - 0.11 i & -1...
...
3.91 + 1.50 i & 2.21 - 0.21 i & 1.58 + 0.90 i & -1.36
\end{array} }\right.$$\displaystyle \begin{array}{cccc}
-1.84 & 0.11 - 0.11 i & -1.78 - 1.18 i & 3.9...
...0.90 i \\
3.91 + 1.50 i & 2.21 - 0.21 i & 1.58 + 0.90 i & -1.36
\end{array}$$\displaystyle \left.\vphantom{
\begin{array}{cccc}
-1.84 & 0.11 - 0.11 i & -1...
...
3.91 + 1.50 i & 2.21 - 0.21 i & 1.58 + 0.90 i & -1.36
\end{array} }\right)$

and

B = $\displaystyle \left(\vphantom{
\begin{array}{cc}
2.98 - 10.18 i & 28.68 - 39....
...i & 4.23 - 70.02 i \\
7.79 + 5.48 i & -35.39 + 18.01 i
\end{array} }\right.$$\displaystyle \begin{array}{cc}
2.98 - 10.18 i & 28.68 - 39.89 i \\
-9.58 +...
... - 16.05 i & 4.23 - 70.02 i \\
7.79 + 5.48 i & -35.39 + 18.01 i
\end{array}$$\displaystyle \left.\vphantom{
\begin{array}{cc}
2.98 - 10.18 i & 28.68 - 39....
...i & 4.23 - 70.02 i \\
7.79 + 5.48 i & -35.39 + 18.01 i
\end{array} }\right)$.

Error estimates for the solutions, and an estimate of the reciprocal of the condition number of the matrix A are also output.

Example program
Example data
Example results