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

Example 1 (from Program LA_GESVD_EXAMPLE)


\begin{displaymath}
A = \left( \begin{array}{rrrrr}
-2 & 1 & -5 & 11 & 2 \\
2 & -2 & 0 & 1 & 4 \\
6 & -8 & 0 & 6 & 0
\end{array} \right)
\end{displaymath}

Array ${\bf A}$ on entry:

\begin{displaymath}
\begin{array}{cc} {\bf A} \\
\begin{array}{\vert rrrrr\ve...
... & 4 \\
6 & -8 & 0 & 6 & 0 \\
\hline \end{array} \end{array}\end{displaymath}

The call:
CALL LA_GESVD( A, S )
${\bf S}$ on exit:

\begin{displaymath}
\begin{array}{cc} {\bf S} \\
\begin{array}{\vert r\vert} ...
...4.0828 \\ 10.1124 \\ 3.92600 \\
\hline \end{array} \end{array}\end{displaymath}

The singular values of matrix $A$ are:

\begin{displaymath}
\left( \begin{array}{c}
14.0828 \\ 10.1124 \\ 3.92600
\end{array} \right).
\end{displaymath}



Susan Blackford 2001-08-19