hetrs_aa_2stage#

Functions

void chetrs_aa_2stage(
    const char*          uplo,
    const INT            n,
    const INT            nrhs,
    const c64*  restrict A,
    const INT            lda,
          c64*  restrict TB,
    const INT            ltb,
    const INT*  restrict ipiv,
    const INT*  restrict ipiv2,
          c64*  restrict B,
    const INT            ldb,
          INT*           info
);
void chetrs_aa_2stage(const char *uplo, const INT n, const INT nrhs, const c64 *restrict A, const INT lda, c64 *restrict TB, const INT ltb, const INT *restrict ipiv, const INT *restrict ipiv2, c64 *restrict B, const INT ldb, INT *info)#

CHETRS_AA_2STAGE solves a system of linear equations A*X = B with a hermitian matrix A using the factorization A = U**H*T*U or A = L*T*L**H computed by CHETRF_AA_2STAGE.

Parameters

in
uplo

Specifies whether the details of the factorization are stored as an upper or lower triangular matrix. = ‘U’: Upper triangular, form is A = U**H*T*U; = ‘L’: Lower triangular, form is A = L*T*L**H.

in
n

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

in
nrhs

The number of right hand sides, i.e., the number of columns of the matrix B. nrhs >= 0.

in
A

Single complex array, dimension (lda, n). Details of factors computed by CHETRF_AA_2STAGE.

in
lda

The leading dimension of the array A. lda >= max(1, n).

in
TB

Single complex array, dimension (ltb). Details of factors computed by CHETRF_AA_2STAGE.

in
ltb

The size of the array TB. ltb >= 4*n.

in
ipiv

Integer array, dimension (n). Details of the interchanges as computed by CHETRF_AA_2STAGE.

in
ipiv2

Integer array, dimension (n). Details of the interchanges as computed by CHETRF_AA_2STAGE.

inout
B

Single complex array, dimension (ldb, nrhs). On entry, the right hand side matrix B. On exit, the solution matrix X.

in
ldb

The leading dimension of the array B. ldb >= max(1, n).

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value

Functions

void zhetrs_aa_2stage(
    const char*          uplo,
    const INT            n,
    const INT            nrhs,
    const c128* restrict A,
    const INT            lda,
          c128* restrict TB,
    const INT            ltb,
    const INT*  restrict ipiv,
    const INT*  restrict ipiv2,
          c128* restrict B,
    const INT            ldb,
          INT*           info
);
void zhetrs_aa_2stage(const char *uplo, const INT n, const INT nrhs, const c128 *restrict A, const INT lda, c128 *restrict TB, const INT ltb, const INT *restrict ipiv, const INT *restrict ipiv2, c128 *restrict B, const INT ldb, INT *info)#

ZHETRS_AA_2STAGE solves a system of linear equations A*X = B with a hermitian matrix A using the factorization A = U**H*T*U or A = L*T*L**H computed by ZHETRF_AA_2STAGE.

Parameters

in
uplo

Specifies whether the details of the factorization are stored as an upper or lower triangular matrix. = ‘U’: Upper triangular, form is A = U**H*T*U; = ‘L’: Lower triangular, form is A = L*T*L**H.

in
n

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

in
nrhs

The number of right hand sides, i.e., the number of columns of the matrix B. nrhs >= 0.

in
A

Double complex array, dimension (lda, n). Details of factors computed by ZHETRF_AA_2STAGE.

in
lda

The leading dimension of the array A. lda >= max(1, n).

in
TB

Double complex array, dimension (ltb). Details of factors computed by ZHETRF_AA_2STAGE.

in
ltb

The size of the array TB. ltb >= 4*n.

in
ipiv

Integer array, dimension (n). Details of the interchanges as computed by ZHETRF_AA_2STAGE.

in
ipiv2

Integer array, dimension (n). Details of the interchanges as computed by ZHETRF_AA_2STAGE.

inout
B

Double complex array, dimension (ldb, nrhs). On entry, the right hand side matrix B. On exit, the solution matrix X.

in
ldb

The leading dimension of the array B. ldb >= max(1, n).

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value