sygvx#
Functions
-
void ssygvx(const INT itype, const char *jobz, const char *range, const char *uplo, const INT n, f32 *restrict A, const INT lda, f32 *restrict B, const INT ldb, const f32 vl, const f32 vu, const INT il, const INT iu, const f32 abstol, INT *m, f32 *restrict W, f32 *restrict Z, const INT ldz, f32 *restrict work, const INT lwork, INT *restrict iwork, INT *restrict ifail, INT *info)#
SSYGVX computes selected eigenvalues, and optionally, eigenvectors of a real generalized symmetric-definite eigenproblem, of the form A*x=(lambda)*B*x, A*B*x=(lambda)*x, or B*A*x=(lambda)*x.
Eigenvalues and eigenvectors can be selected by specifying either a range of values or a range of indices for the desired eigenvalues.
Parameters
initype= 1: A*x = lambda*B*x; = 2: A*B*x = lambda*x; = 3: B*A*x = lambda*x
injobz= ‘N’: eigenvalues only; = ‘V’: eigenvalues and eigenvectors
inrange= ‘A’: all; = ‘V’: in (vl,vu]; = ‘I’: il-th through iu-th
inuplo= ‘U’: upper triangles stored; = ‘L’: lower triangles stored
innThe order of matrices A and B. n >= 0.
inoutAOn entry, symmetric matrix A. On exit, destroyed.
inldaLeading dimension of A. lda >= max(1, n).
inoutBOn entry, symmetric positive definite B. On exit, Cholesky factor.
inldbLeading dimension of B. ldb >= max(1, n).
invlLower bound of interval (if range=’V’).
invuUpper bound of interval (if range=’V’).
inilIndex of smallest eigenvalue (if range=’I’, 0-based).
iniuIndex of largest eigenvalue (if range=’I’, 0-based).
inabstolAbsolute error tolerance for eigenvalues.
outmTotal number of eigenvalues found.
outWSelected eigenvalues in ascending order.
outZEigenvectors if jobz=’V’.
inldzLeading dimension of Z. ldz >= 1, and if jobz=’V’, ldz >= n.
outworkWorkspace array.
inlworkLength of work. lwork >= max(1, 8*n). If -1, workspace query.
outiworkInteger workspace array, dimension (5*n).
outifailIndices of eigenvectors that failed to converge.
outinfo= 0: success; < 0: illegal argument; > 0: SPOTRF/SSYEVX error.
void ssygvx(
const INT itype,
const char* jobz,
const char* range,
const char* uplo,
const INT n,
f32* restrict A,
const INT lda,
f32* restrict B,
const INT ldb,
const f32 vl,
const f32 vu,
const INT il,
const INT iu,
const f32 abstol,
INT* m,
f32* restrict W,
f32* restrict Z,
const INT ldz,
f32* restrict work,
const INT lwork,
INT* restrict iwork,
INT* restrict ifail,
INT* info
);
Functions
-
void dsygvx(const INT itype, const char *jobz, const char *range, const char *uplo, const INT n, f64 *restrict A, const INT lda, f64 *restrict B, const INT ldb, const f64 vl, const f64 vu, const INT il, const INT iu, const f64 abstol, INT *m, f64 *restrict W, f64 *restrict Z, const INT ldz, f64 *restrict work, const INT lwork, INT *restrict iwork, INT *restrict ifail, INT *info)#
DSYGVX computes selected eigenvalues, and optionally, eigenvectors of a real generalized symmetric-definite eigenproblem, of the form A*x=(lambda)*B*x, A*B*x=(lambda)*x, or B*A*x=(lambda)*x.
Eigenvalues and eigenvectors can be selected by specifying either a range of values or a range of indices for the desired eigenvalues.
Parameters
initype= 1: A*x = lambda*B*x; = 2: A*B*x = lambda*x; = 3: B*A*x = lambda*x
injobz= ‘N’: eigenvalues only; = ‘V’: eigenvalues and eigenvectors
inrange= ‘A’: all; = ‘V’: in (vl,vu]; = ‘I’: il-th through iu-th
inuplo= ‘U’: upper triangles stored; = ‘L’: lower triangles stored
innThe order of matrices A and B. n >= 0.
inoutAOn entry, symmetric matrix A. On exit, destroyed.
inldaLeading dimension of A. lda >= max(1, n).
inoutBOn entry, symmetric positive definite B. On exit, Cholesky factor.
inldbLeading dimension of B. ldb >= max(1, n).
invlLower bound of interval (if range=’V’).
invuUpper bound of interval (if range=’V’).
inilIndex of smallest eigenvalue (if range=’I’, 0-based).
iniuIndex of largest eigenvalue (if range=’I’, 0-based).
inabstolAbsolute error tolerance for eigenvalues.
outmTotal number of eigenvalues found.
outWSelected eigenvalues in ascending order.
outZEigenvectors if jobz=’V’.
inldzLeading dimension of Z. ldz >= 1, and if jobz=’V’, ldz >= n.
outworkWorkspace array.
inlworkLength of work. lwork >= max(1, 8*n). If -1, workspace query.
outiworkInteger workspace array, dimension (5*n).
outifailIndices of eigenvectors that failed to converge.
outinfo= 0: success; < 0: illegal argument; > 0: DPOTRF/DSYEVX error.
void dsygvx(
const INT itype,
const char* jobz,
const char* range,
const char* uplo,
const INT n,
f64* restrict A,
const INT lda,
f64* restrict B,
const INT ldb,
const f64 vl,
const f64 vu,
const INT il,
const INT iu,
const f64 abstol,
INT* m,
f64* restrict W,
f64* restrict Z,
const INT ldz,
f64* restrict work,
const INT lwork,
INT* restrict iwork,
INT* restrict ifail,
INT* info
);