syevx_2stage#

Functions

void ssyevx_2stage(
    const char*          jobz,
    const char*          range,
    const char*          uplo,
    const INT            n,
          f32*  restrict A,
    const INT            lda,
    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
);
void ssyevx_2stage(const char *jobz, const char *range, const char *uplo, const INT n, f32 *restrict A, const INT lda, 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)#

SSYEVX_2STAGE computes selected eigenvalues and, optionally, eigenvectors of a real symmetric matrix A using the 2-stage technique for the reduction to tridiagonal.

Eigenvalues and eigenvectors can be selected by specifying either a range of values or a range of indices for the desired eigenvalues.

Parameters

in
jobz

= ‘N’: eigenvalues only; = ‘V’: not available in this release.

in
range

= ‘A’: all eigenvalues; = ‘V’: eigenvalues in (vl,vu]; = ‘I’: il-th through iu-th

in
uplo

= ‘U’: upper triangle stored; = ‘L’: lower triangle stored

in
n

The order of the matrix A. n >= 0.

inout
A

Symmetric matrix A. On exit, destroyed.

in
lda

Leading dimension of A. lda >= max(1, n).

in
vl

Lower bound if range=’V’.

in
vu

Upper bound if range=’V’. vl < vu.

in
il

Smallest eigenvalue index if range=’I’.

in
iu

Largest eigenvalue index if range=’I’.

in
abstol

Absolute error tolerance for eigenvalues.

out
m

Number of eigenvalues found.

out
W

Selected eigenvalues in ascending order.

out
Z

Eigenvectors if jobz=’V’; not referenced if jobz=’N’.

in
ldz

Leading dimension of Z. ldz >= 1, or ldz >= n if jobz=’V’.

out
work

Workspace. On exit, work[0] = optimal LWORK.

in
lwork

Length of work. If -1, workspace query.

out
iwork

Integer workspace, dimension (5*n).

out
ifail

Indices of eigenvectors that failed to converge.

out
info

  • = 0: success; < 0: illegal argument; > 0: convergence failure.

Functions

void dsyevx_2stage(
    const char*          jobz,
    const char*          range,
    const char*          uplo,
    const INT            n,
          f64*  restrict A,
    const INT            lda,
    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
);
void dsyevx_2stage(const char *jobz, const char *range, const char *uplo, const INT n, f64 *restrict A, const INT lda, 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)#

DSYEVX_2STAGE computes selected eigenvalues and, optionally, eigenvectors of a real symmetric matrix A using the 2-stage technique for the reduction to tridiagonal.

Eigenvalues and eigenvectors can be selected by specifying either a range of values or a range of indices for the desired eigenvalues.

Parameters

in
jobz

= ‘N’: eigenvalues only; = ‘V’: not available in this release.

in
range

= ‘A’: all eigenvalues; = ‘V’: eigenvalues in (vl,vu]; = ‘I’: il-th through iu-th

in
uplo

= ‘U’: upper triangle stored; = ‘L’: lower triangle stored

in
n

The order of the matrix A. n >= 0.

inout
A

Symmetric matrix A. On exit, destroyed.

in
lda

Leading dimension of A. lda >= max(1, n).

in
vl

Lower bound if range=’V’.

in
vu

Upper bound if range=’V’. vl < vu.

in
il

Smallest eigenvalue index if range=’I’.

in
iu

Largest eigenvalue index if range=’I’.

in
abstol

Absolute error tolerance for eigenvalues.

out
m

Number of eigenvalues found.

out
W

Selected eigenvalues in ascending order.

out
Z

Eigenvectors if jobz=’V’; not referenced if jobz=’N’.

in
ldz

Leading dimension of Z. ldz >= 1, or ldz >= n if jobz=’V’.

out
work

Workspace. On exit, work[0] = optimal LWORK.

in
lwork

Length of work. If -1, workspace query.

out
iwork

Integer workspace, dimension (5*n).

out
ifail

Indices of eigenvectors that failed to converge.

out
info

  • = 0: success; < 0: illegal argument; > 0: convergence failure.