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

  • '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

Array of 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

Array of dimension ltb. Details of factors computed by chetrf_aa_2stage.

in
ltb

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

in
ipiv

Array of dimension n. Details of the interchanges as computed by chetrf_aa_2stage.

in
ipiv2

Array of dimension n. Details of the interchanges as computed by chetrf_aa_2stage.

inout
B

Array of 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

  • info=0: successful exit

  • info<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

  • '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

Array of 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

Array of dimension ltb. Details of factors computed by zhetrf_aa_2stage.

in
ltb

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

in
ipiv

Array of dimension n. Details of the interchanges as computed by zhetrf_aa_2stage.

in
ipiv2

Array of dimension n. Details of the interchanges as computed by zhetrf_aa_2stage.

inout
B

Array of 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

  • info=0: successful exit

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