laed0#
Functions
-
void slaed0(const INT icompq, const INT qsiz, const INT n, f32 *D, f32 *E, f32 *Q, const INT ldq, f32 *qstore, const INT ldqs, f32 *work, INT *iwork, INT *info)#
SLAED0 computes all eigenvalues and corresponding eigenvectors of a symmetric tridiagonal matrix using the divide and conquer method.
Parameters
inicompq= 0: Compute eigenvalues only. = 1: Compute eigenvectors of original dense symmetric matrix also. On entry, Q contains the orthogonal matrix used to reduce the original matrix to tridiagonal form. = 2: Compute eigenvalues and eigenvectors of tridiagonal matrix.
inqsizThe dimension of the orthogonal matrix used to reduce the full matrix to tridiagonal form. qsiz >= n if icompq = 1.
innThe dimension of the symmetric tridiagonal matrix. n >= 0.
inoutDDouble precision array, dimension (n). On entry, the main diagonal of the tridiagonal matrix. On exit, its eigenvalues.
inEDouble precision array, dimension (n-1). The off-diagonal elements of the tridiagonal matrix. On exit, E has been destroyed.
inoutQDouble precision array, dimension (ldq, n). On entry, Q must contain an n-by-n orthogonal matrix. If icompq = 0, Q is not referenced. If icompq = 1, on entry Q is a subset of the columns of the orthogonal matrix used to reduce the full matrix to tridiagonal form. If icompq = 2, on entry Q will be the identity matrix. On exit, Q contains the eigenvectors of the tridiagonal matrix.
inldqThe leading dimension of the array Q. If eigenvectors are desired, then ldq >= max(1,n). In any case, ldq >= 1.
outqstoreDouble precision array, dimension (ldqs, n). Referenced only when icompq = 1. Used to store parts of the eigenvector matrix when the updating matrix multiplies take place.
inldqsThe leading dimension of the array qstore. If icompq = 1, then ldqs >= max(1,n). In any case, ldqs >= 1.
outworkDouble precision workspace array. If icompq = 0 or 1, dimension at least 1 + 3*n + 2*n*lg(n) + 3*n^2. If icompq = 2, dimension at least 4*n + n^2.
outiworkInteger workspace array. If icompq = 0 or 1, dimension at least 6 + 6*n + 5*n*lg(n). If icompq = 2, dimension at least 3 + 5*n.
outinfo= 0: successful exit.
< 0: if info = -i, the i-th argument had an illegal value.
> 0: The algorithm failed to compute an eigenvalue while working on the submatrix lying in rows and columns info/(n+1) through mod(info,n+1).
void slaed0(
const INT icompq,
const INT qsiz,
const INT n,
f32* D,
f32* E,
f32* Q,
const INT ldq,
f32* qstore,
const INT ldqs,
f32* work,
INT* iwork,
INT* info
);
Functions
-
void dlaed0(const INT icompq, const INT qsiz, const INT n, f64 *D, f64 *E, f64 *Q, const INT ldq, f64 *qstore, const INT ldqs, f64 *work, INT *iwork, INT *info)#
DLAED0 computes all eigenvalues and corresponding eigenvectors of a symmetric tridiagonal matrix using the divide and conquer method.
Parameters
inicompq= 0: Compute eigenvalues only. = 1: Compute eigenvectors of original dense symmetric matrix also. On entry, Q contains the orthogonal matrix used to reduce the original matrix to tridiagonal form. = 2: Compute eigenvalues and eigenvectors of tridiagonal matrix.
inqsizThe dimension of the orthogonal matrix used to reduce the full matrix to tridiagonal form. qsiz >= n if icompq = 1.
innThe dimension of the symmetric tridiagonal matrix. n >= 0.
inoutDDouble precision array, dimension (n). On entry, the main diagonal of the tridiagonal matrix. On exit, its eigenvalues.
inEDouble precision array, dimension (n-1). The off-diagonal elements of the tridiagonal matrix. On exit, E has been destroyed.
inoutQDouble precision array, dimension (ldq, n). On entry, Q must contain an n-by-n orthogonal matrix. If icompq = 0, Q is not referenced. If icompq = 1, on entry Q is a subset of the columns of the orthogonal matrix used to reduce the full matrix to tridiagonal form. If icompq = 2, on entry Q will be the identity matrix. On exit, Q contains the eigenvectors of the tridiagonal matrix.
inldqThe leading dimension of the array Q. If eigenvectors are desired, then ldq >= max(1,n). In any case, ldq >= 1.
outqstoreDouble precision array, dimension (ldqs, n). Referenced only when icompq = 1. Used to store parts of the eigenvector matrix when the updating matrix multiplies take place.
inldqsThe leading dimension of the array qstore. If icompq = 1, then ldqs >= max(1,n). In any case, ldqs >= 1.
outworkDouble precision workspace array. If icompq = 0 or 1, dimension at least 1 + 3*n + 2*n*lg(n) + 3*n^2. If icompq = 2, dimension at least 4*n + n^2.
outiworkInteger workspace array. If icompq = 0 or 1, dimension at least 6 + 6*n + 5*n*lg(n). If icompq = 2, dimension at least 3 + 5*n.
outinfo= 0: successful exit.
< 0: if info = -i, the i-th argument had an illegal value.
> 0: The algorithm failed to compute an eigenvalue while working on the submatrix lying in rows and columns info/(n+1) through mod(info,n+1).
void dlaed0(
const INT icompq,
const INT qsiz,
const INT n,
f64* D,
f64* E,
f64* Q,
const INT ldq,
f64* qstore,
const INT ldqs,
f64* work,
INT* iwork,
INT* info
);
Functions
-
void claed0(const INT qsiz, const INT n, f32 *D, f32 *E, c64 *Q, const INT ldq, c64 *qstore, const INT ldqs, f32 *rwork, INT *iwork, INT *info)#
Using the divide and conquer method, CLAED0 computes all eigenvalues of a symmetric tridiagonal matrix which is one diagonal block of those from reducing a dense or band Hermitian matrix and corresponding eigenvectors of the dense or band matrix.
Parameters
inqsizThe dimension of the unitary matrix used to reduce the full matrix to tridiagonal form. QSIZ >= N.
innThe dimension of the symmetric tridiagonal matrix. N >= 0.
inoutDSingle precision array, dimension (N). On entry, the diagonal elements of the tridiagonal matrix. On exit, the eigenvalues in ascending order.
inoutESingle precision array, dimension (N-1). On entry, the off-diagonal elements of the tridiagonal matrix. On exit, E has been destroyed.
inoutQComplex*16 array, dimension (LDQ, N). On entry, Q must contain a QSIZ x N matrix whose columns are unitarily orthonormal.
inldqThe leading dimension of the array Q. LDQ >= max(1,N).
outqstoreComplex*16 array, dimension (LDQS, N). Used to store parts of the eigenvector matrix when the updating matrix multiplies take place.
inldqsThe leading dimension of the array QSTORE. LDQS >= max(1,N).
outrworkSingle precision array, dimension (1 + 3*N + 2*N*lg(N) + 3*N**2).
outiworkInteger array, dimension (6 + 6*N + 5*N*lg(N)).
outinfo= 0: successful exit. < 0: if INFO = -i, the i-th argument had an illegal value. > 0: The algorithm failed to compute an eigenvalue while working on the submatrix lying in rows and columns INFO/(N+1) through mod(INFO,N+1).
void claed0(
const INT qsiz,
const INT n,
f32* D,
f32* E,
c64* Q,
const INT ldq,
c64* qstore,
const INT ldqs,
f32* rwork,
INT* iwork,
INT* info
);
Functions
-
void zlaed0(const INT qsiz, const INT n, f64 *D, f64 *E, c128 *Q, const INT ldq, c128 *qstore, const INT ldqs, f64 *rwork, INT *iwork, INT *info)#
Using the divide and conquer method, ZLAED0 computes all eigenvalues of a symmetric tridiagonal matrix which is one diagonal block of those from reducing a dense or band Hermitian matrix and corresponding eigenvectors of the dense or band matrix.
Parameters
inqsizThe dimension of the unitary matrix used to reduce the full matrix to tridiagonal form. QSIZ >= N.
innThe dimension of the symmetric tridiagonal matrix. N >= 0.
inoutDDouble precision array, dimension (N). On entry, the diagonal elements of the tridiagonal matrix. On exit, the eigenvalues in ascending order.
inoutEDouble precision array, dimension (N-1). On entry, the off-diagonal elements of the tridiagonal matrix. On exit, E has been destroyed.
inoutQComplex*16 array, dimension (LDQ, N). On entry, Q must contain a QSIZ x N matrix whose columns are unitarily orthonormal.
inldqThe leading dimension of the array Q. LDQ >= max(1,N).
outqstoreComplex*16 array, dimension (LDQS, N). Used to store parts of the eigenvector matrix when the updating matrix multiplies take place.
inldqsThe leading dimension of the array QSTORE. LDQS >= max(1,N).
outrworkDouble precision array, dimension (1 + 3*N + 2*N*lg(N) + 3*N**2).
outiworkInteger array, dimension (6 + 6*N + 5*N*lg(N)).
outinfo= 0: successful exit. < 0: if INFO = -i, the i-th argument had an illegal value. > 0: The algorithm failed to compute an eigenvalue while working on the submatrix lying in rows and columns INFO/(N+1) through mod(INFO,N+1).
void zlaed0(
const INT qsiz,
const INT n,
f64* D,
f64* E,
c128* Q,
const INT ldq,
c128* qstore,
const INT ldqs,
f64* rwork,
INT* iwork,
INT* info
);