ZSPSVX Example

To solve the equations

AX = B,

where A is the complex symmetric matrix

A = $\displaystyle \left(\vphantom{
\begin{array}{cccc}
-0.56 + 0.12 i & -1.54 - 2...
... 0.92 i & -7.86 - 2.96 i & 5.14 - 0.64 i & -0.39 - 0.71 i
\end{array} }\right.$$\displaystyle \begin{array}{cccc}
-0.56 + 0.12 i & -1.54 - 2.86 i & 5.32 - 1.5...
...
3.80 + 0.92 i & -7.86 - 2.96 i & 5.14 - 0.64 i & -0.39 - 0.71 i
\end{array}$$\displaystyle \left.\vphantom{
\begin{array}{cccc}
-0.56 + 0.12 i & -1.54 - 2...
... 0.92 i & -7.86 - 2.96 i & 5.14 - 0.64 i & -0.39 - 0.71 i
\end{array} }\right)$

and

B = $\displaystyle \left(\vphantom{
\begin{array}{cc}
-6.43 + 19.24 i & -4.59 - 35...
...-12.08 - 27.02 i\\
-55.64 + 41.22 i & -19.09 - 35.97 i
\end{array} }\right.$$\displaystyle \begin{array}{cc}
-6.43 + 19.24 i & -4.59 - 35.53 i \\
-0.49 ...
...6.00 i & -12.08 - 27.02 i\\
-55.64 + 41.22 i & -19.09 - 35.97 i
\end{array}$$\displaystyle \left.\vphantom{
\begin{array}{cc}
-6.43 + 19.24 i & -4.59 - 35...
...-12.08 - 27.02 i\\
-55.64 + 41.22 i & -19.09 - 35.97 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