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

Example 1 (from Program LA_GEES_EXAMPLE)


\begin{displaymath}
A = \left( \begin{array}{rrrrr}
-2 & -8 & 1 & 2 & -5 \\
6...
... -4 \\
2 & -6 & 4 & 9 & -3 \\
\hline \end{array} \end{array}\end{displaymath}

The call:
CALL LA_GEES( A, WR, WI )

${\bf A}$, ${\bf WR}$ and ${\bf WI}$ on exit:

\begin{displaymath}
\begin{array}{cc} {\bf A} \\
\begin{array}{\vert rlrlr\ve...
...00000 & ~~0.00000 & -5.48541 \\
\hline \end{array} \end{array}\end{displaymath}


\begin{displaymath}
\begin{array}{cc} {\bf WR} \\
\begin{array}{\vert r\vert}...
...80078 \\ -3.80078 \\ 0.00000 \\
\hline \end{array} \end{array}\end{displaymath}

The real-Schur form $T$ of matrix $A$ is:

\begin{displaymath}
T =\left(
\begin{array}{rlrlr}
-2.21691 & ~~1.34518 \times ...
...~0.00000 & 0.00000 & ~~0.00000 & -5.48541
\end{array} \right).
\end{displaymath}

The eigenvalues of $A$ are:

\begin{displaymath}
\left( \begin{array}{l}
-2.21691 + 8.59661i \\
-2.21691 -...
... \;\;\; 4.45961 - 3.80078i \\
-5.48541
\end{array} \right).
\end{displaymath}



Susan Blackford 2001-08-19