next up previous contents index
Next: LA_PPSVX Up: Examples Previous: Example 1   Contents   Index

Example 2 (from Program LA_PPSV_EXAMPLE)

The results below are computed with $\epsilon = 1.19209 \times 10^{-7}$.

\begin{displaymath}
A = \left( \begin{array}{rrrrr}
38 & 3 & 4 & 6 & 5 \\
3 ...
...{array}{rrr}
56 \\ 71 \\ 69 \\ 80 \\ 102 \end{array} \right).
\end{displaymath}

Arrays ${\bf AP}$ and ${\bf B}$ on entry:


\begin{displaymath}
\begin{array}{c} {\bf AP} \\
\begin{array}{\vert rrrrrrrr...
...
56 \\ 71 \\ 69 \\ 80 \\ 102 \\ \hline \end{array} \end{array}\end{displaymath}

The call:

CALL LA_PPSV( AP, B, 'L' )
Arrays ${\bf AP}$ and ${\bf B}$ on exit:

\begin{displaymath}
\hspace{-0.80 cm}
\begin{array}{c} {\bf AP} \\
\begin{ar...
...00000 \\ 1.00000 \\ 1.00000 \\
\hline \end{array} \end{array}\end{displaymath}

$L$ and $x$, where $A = L\,L^T$ and $x$ is the solution to the system $A\,x = b$:

\begin{displaymath}
\hspace{-0.80 cm}
L = \left( \begin{array}{lllll}
6.16441...
...000 \\ 1.00000 \\ 1.00000 \\ 1.00000 \\
\end{array} \right).
\end{displaymath}



Susan Blackford 2001-08-19