next up previous contents index
Next: LA_SYEVX / LA_HEEVX Up: Examples Previous: Example 1 (from Program   Contents   Index

Example 2 (from Program LA_SYEVD_EXAMPLE)

Matrix $A$ as in Example 1.

Array ${\bf A}$ on entry:

\begin{displaymath}
\begin{array}{cc} {\bf A} \\
\begin{array}{\vert rrrrr\ve...
...* \\
3 & -1 & -1 & -1 & -7 \\
\hline \end{array} \end{array}\end{displaymath}

Elements marked * are not used by the routine.

The call:
CALL LA_SYEVD( A, W,
'V', 'L', INFO )

A and INFO on exit:

\begin{displaymath}\begin{array}{c} \begin{array}{c} {\bf A} \\
\begin{array}{...
...\ \\
\begin{array}{c} {\bf INFO} = 0 \end{array} \end{array} \end{displaymath}

The eigenvectors of $A$ are:

\begin{displaymath}
\left( \begin{array}{l@{\hspace{1mm}}l@{\hspace{1mm}}l@{\hsp...
...\times 10^{-2} & -5.14657 \times 10^{-2}
\end{array} \right)
\end{displaymath}



Susan Blackford 2001-08-19