sbev#
Functions
-
void ssbev(const char *jobz, const char *uplo, const INT n, const INT kd, f32 *restrict AB, const INT ldab, f32 *restrict W, f32 *restrict Z, const INT ldz, f32 *restrict work, INT *info)#
SSBEV computes all the eigenvalues and, optionally, eigenvectors of a real symmetric band matrix A.
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). On exit, overwritten by values generated during reduction.
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’.
outworkWorkspace array of dimension (max(1, 3*n-2)).
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 ssbev(
const char* jobz,
const char* uplo,
const INT n,
const INT kd,
f32* restrict AB,
const INT ldab,
f32* restrict W,
f32* restrict Z,
const INT ldz,
f32* restrict work,
INT* info
);
Functions
-
void dsbev(const char *jobz, const char *uplo, const INT n, const INT kd, f64 *restrict AB, const INT ldab, f64 *restrict W, f64 *restrict Z, const INT ldz, f64 *restrict work, INT *info)#
DSBEV computes all the eigenvalues and, optionally, eigenvectors of a real symmetric band matrix A.
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). On exit, overwritten by values generated during reduction.
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’.
outworkWorkspace array of dimension (max(1, 3*n-2)).
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 dsbev(
const char* jobz,
const char* uplo,
const INT n,
const INT kd,
f64* restrict AB,
const INT ldab,
f64* restrict W,
f64* restrict Z,
const INT ldz,
f64* restrict work,
INT* info
);