/
eigvalsym.1
49 lines (49 loc) · 1.39 KB
/
eigvalsym.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.\" Automatically generated by Pandoc 1.17.1
.\"
.TH "eigvalsym" "1" "" "Fortran 95" "SHTOOLS 3.2"
.hy
.PP
% 2015\-12\-08 # EigValSym
.PP
Compute the eigenvalues of a real symmetric matrix.
.SH Usage
.PP
call EigValSym (\f[C]ain\f[], \f[C]n\f[], \f[C]eval\f[], \f[C]ul\f[])
.SH Parameters
.TP
.B \f[C]ain\f[] : input, real*8, dimension (\f[C]n\f[], \f[C]n\f[])
The input real symmetric matrix.
By default, only the upper portion of the matrix is used.
.RS
.RE
.TP
.B \f[C]n\f[] : input, integer
The rank of the matrix \f[C]ain\f[].
.RS
.RE
.TP
.B \f[C]eval\f[] : output, real*8, dimension (\f[C]n\f[])
The eigenvalues of \f[C]ain\f[], sorted from largest to smallest.
.RS
.RE
.TP
.B \f[C]ul\f[] : optional, input, character, default = \f[C]U\f[]
If \f[C]U\f[] then the upper portion of the matrix \f[C]ain\f[] will be
used (default).
If \f[C]L\f[] then the lower portion of the matrix \f[C]ain\f[] will be
used.
.RS
.RE
.SH Description
.PP
\f[C]EigValSym\f[] will calculate the eigenvalues of a real symmetric
matrix.
By default, only the upper portion of the matrix is used, but this can
be changed by the optional argument \f[C]ul\f[].
The eigenvalues are sorted from largest to smallest.
The matrix \f[C]ain\f[] is first factorized into a tridiagonal matrix
using the LAPACK routine \f[C]DSYTRD\f[], and then the eigenvalues are
calculated by a call to \f[C]DSTEGR\f[].
.SH See also
.PP
eigvalvecsym, eigvalvecsymtri