A, W[, jobz='N'[, uplo='L']]) |
'V'
, the eigenvectors are also computed
and returned in A.
If jobz is 'N'
, the eigenvectors are not returned and the
contents of A are destroyed.
Raises an ArithmeticError
if the eigenvalue decomposition fails.
A, W[, jobz='N'[, uplo='L']]) |
A, W[, jobz='N'[,
range='A'[, uplo='L'[, vl=0.0, vu=0.0[,
il=1, iu=1[, Z=None ]]]]]]) |
W is a real matrix of length at least n.
On exit, W contains the eigenvalues in ascending order.
If range is 'A'
, all the eigenvalues are computed.
If range is 'I'
, eigenvalues il through iu
are computed, where 1 <=
il <=
iu
<=
n.
If range is 'V'
, the eigenvalues in the interval
(vl,vu]
are computed.
If jobz is 'V'
, the (normalized) eigenvectors are
computed, and returned in Z. If jobz is 'N'
, the
eigenvectors are not computed. In both cases, the contents of A
are destroyed on exit.
Z is optional (and not referenced) if jobz is 'N'
.
It is required if jobz is 'V'
and must have at least
n columns if range is 'A'
or 'V'
and at
least iu-il+1
columns if range is 'I'
.
syevx() returns the number of computed eigenvalues.
A, W[, jobz='N'[,
range='A'[, uplo='L'[, vl=0.0, vu=0.0[,
il=1, iu=n[, Z=None ]]]]]]) |
The next four routines can be used to compute eigenvalues and
eigenvectors for complex Hermitian matrices:
A, W[, jobz='N'[, uplo='L']]) |
A, W[, jobz='N'[, uplo='L']]) |
A, W[, jobz='N'[,
range='A'[, uplo='L'[, vl=0.0, vu=0.0 [,
il=1, iu=n[, Z=None ]]]]]]) |
A, W[, jobz='N'[,
range='A'[, uplo='L'[, vl=0.0, vu=0.0[,
il=1, iu=n[, Z=None ]]]]]]) |