ZSPSV 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}{c}
-6.43 + 19.24 i \\
-0.49 - 1.47 i \\
-48.18 + 66.00 i \\
-55.64 + 41.22 i
\end{array} }\right.$$\displaystyle \begin{array}{c}
-6.43 + 19.24 i \\
-0.49 - 1.47 i \\
-48.18 + 66.00 i \\
-55.64 + 41.22 i
\end{array}$$\displaystyle \left.\vphantom{
\begin{array}{c}
-6.43 + 19.24 i \\
-0.49 - 1.47 i \\
-48.18 + 66.00 i \\
-55.64 + 41.22 i
\end{array} }\right)$.

Details of the factorization of A are also output.

Example program
Example data
Example results