ZPOSV Example

To solve the equations

Ax = b,

where A is the symmetric positive definite matrix

A = $\displaystyle \left(\vphantom{
\begin{array}{cccc}
3.23 & 1.51 - 1.92 i & 1.9...
...
0.42 - 2.50 i & -1.18 - 1.37 i & 2.33 + 0.14 i & 4.29
\end{array} }\right.$$\displaystyle \begin{array}{cccc}
3.23 & 1.51 - 1.92 i & 1.90 + 0.84 i & 0.42 ...
...0.14 i \\
0.42 - 2.50 i & -1.18 - 1.37 i & 2.33 + 0.14 i & 4.29
\end{array}$$\displaystyle \left.\vphantom{
\begin{array}{cccc}
3.23 & 1.51 - 1.92 i & 1.9...
...
0.42 - 2.50 i & -1.18 - 1.37 i & 2.33 + 0.14 i & 4.29
\end{array} }\right)$

and

b = $\displaystyle \left(\vphantom{
\begin{array}{c}
3.93 - 6.14 i \\
6.17 + 9.42 i \\
-7.17 - 21.83 i \\
1.99 - 14.38 i
\end{array} }\right.$$\displaystyle \begin{array}{c}
3.93 - 6.14 i \\
6.17 + 9.42 i \\
-7.17 - 21.83 i \\
1.99 - 14.38 i
\end{array}$$\displaystyle \left.\vphantom{
\begin{array}{c}
3.93 - 6.14 i \\
6.17 + 9.42 i \\
-7.17 - 21.83 i \\
1.99 - 14.38 i
\end{array} }\right)$.

Details of the Cholesky factorization of A are also output.

Example program
Example data
Example results