next up previous contents index
Next: Example 2 (from Program Up: Examples Previous: Examples   Contents   Index

Example 1 (from Program LA_GESV_EXAMPLE)


\begin{displaymath}
A = \left( \begin{array}{rrrrr}
0 & 2 & 3 & 5 & 4 \\
1 &...
...2 & 78 \\
22 & 44 & 66 \\
22 & 44 & 66 \end{array} \right)
\end{displaymath}

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

\begin{displaymath}
\begin{array}{cc} {\bf A} \\
\begin{array}{\vert rrrrr\ve...
...2 & 44 & 66 \\
22 & 44 & 66 \\ \hline \end{array} \end{array}\end{displaymath}

The call:
CALL LA_GESV( A, B )

${\bf B}$ on exit:

\begin{displaymath}
\begin{array}{cc} {\bf B} \\
\begin{array}{\vert rrr\vert...
...1.00000 & 2.00000 & 3.00000 \\
\hline \end{array} \end{array}\end{displaymath}

The solution of the system $ A\,X = B $ is:

\begin{displaymath}
X = \left( \begin{array}{rrr}
1.00000 & 2.00000 & 3.00000 ...
...3.00000 \\
1.00000 & 2.00000 & 3.00000
\end{array} \right).
\end{displaymath}



Susan Blackford 2001-08-19