stebz#
Functions
-
void sstebz(const char *range, const char *order, const INT n, const f32 vl, const f32 vu, const INT il, const INT iu, const f32 abstol, const f32 *restrict D, const f32 *restrict E, INT *m, INT *nsplit, f32 *restrict W, INT *restrict iblock, INT *restrict isplit, f32 *restrict work, INT *restrict iwork, INT *info)#
SSTEBZ computes the eigenvalues of a symmetric tridiagonal matrix T.
The user may ask for all eigenvalues, all eigenvalues in the half-open interval (VL, VU], or the IL-th through IU-th eigenvalues.
To avoid overflow, the matrix must be scaled so that its largest element is no greater than overflow**(1/2) * underflow**(1/4) in absolute value, and for greatest accuracy, it should not be much smaller than that.
See W. Kahan “Accurate Eigenvalues of a Symmetric Tridiagonal
Matrix”, Report CS41, Computer Science Dept., Stanford University, July 21, 1966.
Parameters
inrange= ‘A’: all eigenvalues will be found. = ‘V’: all eigenvalues in (VL, VU] will be found. = ‘I’: the IL-th through IU-th eigenvalues will be found.
inorder= ‘B’: eigenvalues grouped by split-off block. = ‘E’: eigenvalues ordered from smallest to largest.
innThe order of the tridiagonal matrix T. n >= 0.
invlIf range=’V’, the lower bound of the interval.
invuIf range=’V’, the upper bound of the interval.
inilIf range=’I’, the index of the smallest eigenvalue (0-based).
iniuIf range=’I’, the index of the largest eigenvalue (0-based).
inabstolThe absolute tolerance for the eigenvalues.
inDDouble precision array, dimension (n). The diagonal elements.
inEDouble precision array, dimension (n-1). The off-diagonal elements.
outmThe actual number of eigenvalues found.
outnsplitThe number of diagonal blocks in T.
outWDouble precision array, dimension (n). The eigenvalues.
outiblockInteger array, dimension (n). Block number (0-based) for each eigenvalue.
outisplitInteger array, dimension (n). The splitting points (0-based endpoints).
outworkDouble precision array, dimension (4*n).
outiworkInteger array, dimension (3*n).
outinfo= 0: successful exit.
< 0: if info = -i, the i-th argument had an illegal value.
> 0: some eigenvalues failed to converge or were not computed.
void sstebz(
const char* range,
const char* order,
const INT n,
const f32 vl,
const f32 vu,
const INT il,
const INT iu,
const f32 abstol,
const f32* restrict D,
const f32* restrict E,
INT* m,
INT* nsplit,
f32* restrict W,
INT* restrict iblock,
INT* restrict isplit,
f32* restrict work,
INT* restrict iwork,
INT* info
);
Functions
-
void dstebz(const char *range, const char *order, const INT n, const f64 vl, const f64 vu, const INT il, const INT iu, const f64 abstol, const f64 *restrict D, const f64 *restrict E, INT *m, INT *nsplit, f64 *restrict W, INT *restrict iblock, INT *restrict isplit, f64 *restrict work, INT *restrict iwork, INT *info)#
DSTEBZ computes the eigenvalues of a symmetric tridiagonal matrix T.
The user may ask for all eigenvalues, all eigenvalues in the half-open interval (VL, VU], or the IL-th through IU-th eigenvalues.
To avoid overflow, the matrix must be scaled so that its largest element is no greater than overflow**(1/2) * underflow**(1/4) in absolute value, and for greatest accuracy, it should not be much smaller than that.
See W. Kahan “Accurate Eigenvalues of a Symmetric Tridiagonal
Matrix”, Report CS41, Computer Science Dept., Stanford University, July 21, 1966.
Parameters
inrange= ‘A’: all eigenvalues will be found. = ‘V’: all eigenvalues in (VL, VU] will be found. = ‘I’: the IL-th through IU-th eigenvalues will be found.
inorder= ‘B’: eigenvalues grouped by split-off block. = ‘E’: eigenvalues ordered from smallest to largest.
innThe order of the tridiagonal matrix T. n >= 0.
invlIf range=’V’, the lower bound of the interval.
invuIf range=’V’, the upper bound of the interval.
inilIf range=’I’, the index of the smallest eigenvalue (0-based).
iniuIf range=’I’, the index of the largest eigenvalue (0-based).
inabstolThe absolute tolerance for the eigenvalues.
inDDouble precision array, dimension (n). The diagonal elements.
inEDouble precision array, dimension (n-1). The off-diagonal elements.
outmThe actual number of eigenvalues found.
outnsplitThe number of diagonal blocks in T.
outWDouble precision array, dimension (n). The eigenvalues.
outiblockInteger array, dimension (n). Block number (0-based) for each eigenvalue.
outisplitInteger array, dimension (n). The splitting points (0-based endpoints).
outworkDouble precision array, dimension (4*n).
outiworkInteger array, dimension (3*n).
outinfo= 0: successful exit.
< 0: if info = -i, the i-th argument had an illegal value.
> 0: some eigenvalues failed to converge or were not computed.
void dstebz(
const char* range,
const char* order,
const INT n,
const f64 vl,
const f64 vu,
const INT il,
const INT iu,
const f64 abstol,
const f64* restrict D,
const f64* restrict E,
INT* m,
INT* nsplit,
f64* restrict W,
INT* restrict iblock,
INT* restrict isplit,
f64* restrict work,
INT* restrict iwork,
INT* info
);