next up previous contents index
Next: Example (from Program LA_SYEVR_EXAMPLE) Up: Standard Symmetric Eigenvalue Problems Previous: Purpose   Contents   Index

Arguments

A
(input/output) REAL or COMPLEX square array, shape $(:,:)$.
On entry, the matrix $A$.
If UPLO $=$ 'U', the upper triangular part of A contains the upper triangular part of the matrix $A$. If UPLO $=$ 'L', the lower triangular part of A contains the lower triangular part of the matrix $A$.
On exit:
If JOBZ = 'V', then the first M columns of A contain the orthonormal eigenvectors of the matrix $A$ corresponding to the selected eigenvalues, with the $i^{th}$ column of A containing the eigenvector associated with the eigenvalue in ${\bf W}_i$.
If JOBZ = 'N', the upper triangle (if UPLO = 'U') or the lower triangle (if UPLO = 'L') of A, including the diagonal, is destroyed.

W
(output) REAL array, shape $(:)$ with $size({\bf W}) = size({\bf A},1)$.
The first M elements contain the selected eigenvalues in ascending order.

JOBZ
Optional (input) CHARACTER(LEN=1).

\begin{optionarg}
\item[{$=$\ 'N':}] Computes eigenvalues only;
\item[{$=$\ 'V':}] Computes eigenvalues and eigenvectors.
\end{optionarg}
Default value: 'N'.

UPLO
Optional (input) CHARACTER(LEN=1).

\begin{optionarg}
\item[{= 'U':}] Upper triangle of A is stored;
\item[{= 'L':}] Lower triangle of A is stored.
\end{optionarg}
Default value: 'U'.

VL,VU
Optional (input) REAL.
The lower and upper bounds of the interval to be searched for eigenvalues. VL $<$ VU.
Default values: VL $=$ -HUGE(wp) and VU $=$ HUGE(wp), where wp ::= KIND(1.0) $\mid$ KIND(1.0D0).
Note: Neither VL nor VU may be present if IL and/or IU is present.

IL,IU
Optional (input) INTEGER.
The indices of the smallest and largest eigenvalues to be returned. The ${\bf IL}^{th}$ through ${\bf IU}^{th}$ eigenvalues will be found. $1 \leq {\bf IL} \leq {\bf IU} \leq size({\bf A},1)$.
Default values: IL $= 1$ and IU $=$ $size$(A,1).
Note: Neither IL nor IU may be present if VL and/or VU is present.
Note: All eigenvalues are calculated if none of the arguments VL, VU, IL and IU are present.

M
Optional (output) INTEGER.
The total number of eigenvalues found. $0 \leq {\bf M} \leq size({\bf A},1)$.
Note: If ${\bf IL}$ and ${\bf IU}$ are present then ${\bf M} = {\bf IU}-{\bf IL}+1$.

ISUPPZ
Optional (output) INTEGER array, shape $(:)$ with size(ISUPPZ) $= 2\times\max(1$,M).
The support of the eigenvectors in A, i.e., the indices indicating the nonzero elements. The $i^{th}$ eigenvector is nonzero only in elements ISUPPZ$_{2i-1}$ through ISUPPZ$_{2i}$.
Note: ISUPPZ must be absent if JOBZ = 'N'.

ABSTOL
Optional (input) REAL.
The absolute error tolerance for the eigenvalues. An approximate eigenvalue is accepted as converged when it is determined to lie in an interval $[a,b]$ of width less than or equal to

\begin{displaymath}{\bf ABSTOL} + {\bf EPSILON}(1.0\_{\it wp})\times
\max(\mid a\mid,\mid b\mid),\end{displaymath}

where wp is the working precision. If ABSTOL $\leq 0$, then ${\bf EPSILON}(1.0\_{\it wp})\times \Vert T \Vert _1 $ will be used in its place, where $\Vert T \Vert _1$ is the $l_1$ norm of the tridiagonal matrix obtained by reducing $A$ to tridiagonal form.
Default value: $0.0\_{\it wp}$.
Note: Eigenvalues are computed most accurately if ABSTOL is set to LA_LAMCH( 1.0_wp, 'Safe minimum'), not zero.

INFO
Optional (output) INTEGER

\begin{infoarg}
\item[{$=$\ 0:}] successful exit.
\item[{$<$\ 0:}] if {\bf INFO} $= -i$, the $i^{th}$\ argument had an illegal
value.
\end{infoarg}
If INFO is not present and an error occurs, then the program is terminated with an error message.
References: [1] and [17,9,20].
next up previous contents index
Next: Example (from Program LA_SYEVR_EXAMPLE) Up: Standard Symmetric Eigenvalue Problems Previous: Purpose   Contents   Index
Susan Blackford 2001-08-19