hbevd#
Functions
-
void chbevd(const char *jobz, const char *uplo, const INT n, const INT kd, c64 *restrict AB, const INT ldab, f32 *restrict W, c64 *restrict Z, const INT ldz, c64 *restrict work, const INT lwork, f32 *restrict rwork, const INT lrwork, INT *restrict iwork, const INT liwork, INT *info)#
CHBEVD computes all the eigenvalues and, optionally, eigenvectors of a complex Hermitian band matrix A.
If eigenvectors are desired, it uses a divide and conquer algorithm.
Parameters
injobz= ‘N’: Compute eigenvalues only = ‘V’: Compute eigenvalues and eigenvectors
inuplo= ‘U’: Upper triangle of A is stored = ‘L’: Lower triangle of A is stored
innThe order of the matrix A. n >= 0.
inkdThe number of super-diagonals (if uplo=’U’) or sub-diagonals (if uplo=’L’). kd >= 0.
inoutABThe banded matrix A. Array of dimension (ldab, n).
inldabThe leading dimension of AB. ldab >= kd+1.
outWThe eigenvalues in ascending order. Array of dimension (n).
outZIf jobz=’V’, the orthonormal eigenvectors. Array of dimension (ldz, n).
inldzThe leading dimension of Z. ldz >= 1, and >= n if jobz=’V’.
outworkComplex workspace array of dimension (lwork).
inlworkThe dimension of work. If lwork=-1, workspace query.
outrworkSingle precision workspace array of dimension (lrwork).
inlrworkThe dimension of rwork. If lrwork=-1, workspace query.
outiworkInteger workspace array of dimension (liwork).
inliworkThe dimension of iwork. If liwork=-1, workspace query.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
> 0: if info = i, the algorithm failed to converge
void chbevd(
const char* jobz,
const char* uplo,
const INT n,
const INT kd,
c64* restrict AB,
const INT ldab,
f32* restrict W,
c64* restrict Z,
const INT ldz,
c64* restrict work,
const INT lwork,
f32* restrict rwork,
const INT lrwork,
INT* restrict iwork,
const INT liwork,
INT* info
);
Functions
-
void zhbevd(const char *jobz, const char *uplo, const INT n, const INT kd, c128 *restrict AB, const INT ldab, f64 *restrict W, c128 *restrict Z, const INT ldz, c128 *restrict work, const INT lwork, f64 *restrict rwork, const INT lrwork, INT *restrict iwork, const INT liwork, INT *info)#
ZHBEVD computes all the eigenvalues and, optionally, eigenvectors of a complex Hermitian band matrix A.
If eigenvectors are desired, it uses a divide and conquer algorithm.
Parameters
injobz= ‘N’: Compute eigenvalues only = ‘V’: Compute eigenvalues and eigenvectors
inuplo= ‘U’: Upper triangle of A is stored = ‘L’: Lower triangle of A is stored
innThe order of the matrix A. n >= 0.
inkdThe number of super-diagonals (if uplo=’U’) or sub-diagonals (if uplo=’L’). kd >= 0.
inoutABThe banded matrix A. Array of dimension (ldab, n).
inldabThe leading dimension of AB. ldab >= kd+1.
outWThe eigenvalues in ascending order. Array of dimension (n).
outZIf jobz=’V’, the orthonormal eigenvectors. Array of dimension (ldz, n).
inldzThe leading dimension of Z. ldz >= 1, and >= n if jobz=’V’.
outworkComplex workspace array of dimension (lwork).
inlworkThe dimension of work. If lwork=-1, workspace query.
outrworkDouble precision workspace array of dimension (lrwork).
inlrworkThe dimension of rwork. If lrwork=-1, workspace query.
outiworkInteger workspace array of dimension (liwork).
inliworkThe dimension of iwork. If liwork=-1, workspace query.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
> 0: if info = i, the algorithm failed to converge
void zhbevd(
const char* jobz,
const char* uplo,
const INT n,
const INT kd,
c128* restrict AB,
const INT ldab,
f64* restrict W,
c128* restrict Z,
const INT ldz,
c128* restrict work,
const INT lwork,
f64* restrict rwork,
const INT lrwork,
INT* restrict iwork,
const INT liwork,
INT* info
);