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

Example 1 (from Program LA_GGSVD_EXAMPLE)


\begin{displaymath}
A = \left( \begin{array}{ccc}
1 &
2 + 2i &
5 -3i \\
6...
...-i \\
2 + 2i &
-10 + 2i &
-5 + i \\
\end{array} \right)
\end{displaymath}

Arrays A and B on entry:

\begin{displaymath}
\begin{array}{c} {\bf A} \\
\begin{array}{\vert rrr\vert} ...
... (2,2) &
(-10,2) &
(-5,1) \\
\hline \end{array} \end{array}\end{displaymath}

The call:

CALL LA_GGSVD( A, B, ALPHA, BETA, K, L )

A, ALPHA, BETA, K and L on exit:

\begin{displaymath}
\begin{array}{c} {\bf A} \\
\begin{array}{\vert l@{\hspace...
...\;\; 0.00000,\;\;\; 0.00000) \\
\hline \end{array} \end{array}\end{displaymath}


\begin{displaymath}
\begin{array}{cc} {\bf ALPHA} \\
\begin{array}{\vert l\ve...
...
\begin{array}{c}
{\bf K} = 1 \\
{\bf L} = 2 \\
\end{array}\end{displaymath}

The generalized singular values of $(A,\,B)$ and the matrix $R$:

\begin{displaymath}
\left( \begin{array}{c}
\infty \\
5.64618\\
2.91303
\en...
...75 -1.55730i \\
0 &
0 &
-12.1680
\end{array} \right) .
\end{displaymath}



Susan Blackford 2001-08-19