public interface laed7
LAED7 computes the updated eigensystem of a diagonal
matrix after modification by a rank-one symmetric matrix. This
routine is used only for the eigenproblem which requires all
eigenvalues and optionally eigenvectors of a dense or banded
Hermitian matrix that has been reduced to tridiagonal form.
T = Q(in) ( D(in) + RHO * ZZH ) QH(in) = Q(out) * D(out) * QH(out)
where Z = Q*Hu, u is a vector of length N with ones in the
CUTPNT and CUTPNT + 1 th elements and zeros elsewhere.
The eigenvectors of the original matrix are stored in Q, and the
eigenvalues are in D. The algorithm consists of three stages:
The first stage consists of deflating the size of the problem
when there are multiple eigenvalues or if there is a zero in
the Z vector. For each such occurrence the dimension of the
secular equation problem is reduced by one. This stage is
performed by the routine SLAED2.
The second stage consists of calculating the updated
eigenvalues. This is done by finding the roots of the secular
equation via the routine SLAED4 (as called by SLAED3).
This routine also calculates the eigenvectors of the current
problem.
The final stage consists of computing the updated eigenvectors
directly using the updated eigenvalues. The eigenvectors for
the current problem are multiplied with the eigenvectors from
the overall problem.
Subroutines
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
n |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
cutpnt |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
qsiz |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
tlvls |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
curlvl |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
curpbm |
|
|
real(kind=sp),
|
intent(inout) |
|
|
:: |
d(*) |
|
|
complex(kind=sp),
|
intent(inout) |
|
|
:: |
q(ldq,*) |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
ldq |
|
|
real(kind=sp),
|
intent(inout) |
|
|
:: |
rho |
|
|
integer(kind=ilp),
|
intent(out) |
|
|
:: |
indxq(*) |
|
|
real(kind=sp),
|
intent(inout) |
|
|
:: |
qstore(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
qptr(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
prmptr(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
perm(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
givptr(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
givcol(2,*) |
|
|
real(kind=sp),
|
intent(inout) |
|
|
:: |
givnum(2,*) |
|
|
complex(kind=sp),
|
intent(out) |
|
|
:: |
work(*) |
|
|
real(kind=sp),
|
intent(out) |
|
|
:: |
rwork(*) |
|
|
integer(kind=ilp),
|
intent(out) |
|
|
:: |
iwork(*) |
|
|
integer(kind=ilp),
|
intent(out) |
|
|
:: |
info |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
icompq |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
n |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
qsiz |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
tlvls |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
curlvl |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
curpbm |
|
|
real(kind=dp),
|
intent(inout) |
|
|
:: |
d(*) |
|
|
real(kind=dp),
|
intent(inout) |
|
|
:: |
q(ldq,*) |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
ldq |
|
|
integer(kind=ilp),
|
intent(out) |
|
|
:: |
indxq(*) |
|
|
real(kind=dp),
|
intent(inout) |
|
|
:: |
rho |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
cutpnt |
|
|
real(kind=dp),
|
intent(inout) |
|
|
:: |
qstore(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
qptr(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
prmptr(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
perm(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
givptr(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
givcol(2,*) |
|
|
real(kind=dp),
|
intent(inout) |
|
|
:: |
givnum(2,*) |
|
|
real(kind=dp),
|
intent(out) |
|
|
:: |
work(*) |
|
|
integer(kind=ilp),
|
intent(out) |
|
|
:: |
iwork(*) |
|
|
integer(kind=ilp),
|
intent(out) |
|
|
:: |
info |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
icompq |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
n |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
qsiz |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
tlvls |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
curlvl |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
curpbm |
|
|
real(kind=sp),
|
intent(inout) |
|
|
:: |
d(*) |
|
|
real(kind=sp),
|
intent(inout) |
|
|
:: |
q(ldq,*) |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
ldq |
|
|
integer(kind=ilp),
|
intent(out) |
|
|
:: |
indxq(*) |
|
|
real(kind=sp),
|
intent(inout) |
|
|
:: |
rho |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
cutpnt |
|
|
real(kind=sp),
|
intent(inout) |
|
|
:: |
qstore(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
qptr(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
prmptr(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
perm(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
givptr(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
givcol(2,*) |
|
|
real(kind=sp),
|
intent(inout) |
|
|
:: |
givnum(2,*) |
|
|
real(kind=sp),
|
intent(out) |
|
|
:: |
work(*) |
|
|
integer(kind=ilp),
|
intent(out) |
|
|
:: |
iwork(*) |
|
|
integer(kind=ilp),
|
intent(out) |
|
|
:: |
info |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
n |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
cutpnt |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
qsiz |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
tlvls |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
curlvl |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
curpbm |
|
|
real(kind=dp),
|
intent(inout) |
|
|
:: |
d(*) |
|
|
complex(kind=dp),
|
intent(inout) |
|
|
:: |
q(ldq,*) |
|
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
ldq |
|
|
real(kind=dp),
|
intent(inout) |
|
|
:: |
rho |
|
|
integer(kind=ilp),
|
intent(out) |
|
|
:: |
indxq(*) |
|
|
real(kind=dp),
|
intent(inout) |
|
|
:: |
qstore(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
qptr(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
prmptr(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
perm(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
givptr(*) |
|
|
integer(kind=ilp),
|
intent(inout) |
|
|
:: |
givcol(2,*) |
|
|
real(kind=dp),
|
intent(inout) |
|
|
:: |
givnum(2,*) |
|
|
complex(kind=dp),
|
intent(out) |
|
|
:: |
work(*) |
|
|
real(kind=dp),
|
intent(out) |
|
|
:: |
rwork(*) |
|
|
integer(kind=ilp),
|
intent(out) |
|
|
:: |
iwork(*) |
|
|
integer(kind=ilp),
|
intent(out) |
|
|
:: |
info |
|
Module Procedures