hetrs2#
Functions
-
void chetrs2(const char *uplo, const INT n, const INT nrhs, c64 *restrict A, const INT lda, const INT *restrict ipiv, c64 *restrict B, const INT ldb, c64 *restrict work, INT *info)#
CHETRS2 solves a system of linear equations A*X = B with a complex Hermitian matrix A using the factorization A = U*D*U**H or A = L*D*L**H computed by CHETRF and converted by CSYCONV.
Parameters
inuploSpecifies whether the details of the factorization are stored as an upper or lower triangular matrix. = ‘U’: Upper triangular, form is A = U*D*U**H; = ‘L’: Lower triangular, form is A = L*D*L**H.
innThe order of the matrix A. n >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inoutAComplex*16 array, dimension (lda, n). The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by CHETRF.
inldaThe leading dimension of the array A. lda >= max(1,n).
inipivInteger array, dimension (n). Details of the interchanges and the block structure of D as determined by CHETRF.
inoutBComplex*16 array, dimension (ldb, nrhs). On entry, the right hand side matrix B. On exit, the solution matrix X.
inldbThe leading dimension of the array B. ldb >= max(1,n).
outworkComplex*16 array, dimension (n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void chetrs2(
const char* uplo,
const INT n,
const INT nrhs,
c64* restrict A,
const INT lda,
const INT* restrict ipiv,
c64* restrict B,
const INT ldb,
c64* restrict work,
INT* info
);
Functions
-
void zhetrs2(const char *uplo, const INT n, const INT nrhs, c128 *restrict A, const INT lda, const INT *restrict ipiv, c128 *restrict B, const INT ldb, c128 *restrict work, INT *info)#
ZHETRS2 solves a system of linear equations A*X = B with a complex Hermitian matrix A using the factorization A = U*D*U**H or A = L*D*L**H computed by ZHETRF and converted by ZSYCONV.
Parameters
inuploSpecifies whether the details of the factorization are stored as an upper or lower triangular matrix. = ‘U’: Upper triangular, form is A = U*D*U**H; = ‘L’: Lower triangular, form is A = L*D*L**H.
innThe order of the matrix A. n >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inoutAComplex*16 array, dimension (lda, n). The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by ZHETRF.
inldaThe leading dimension of the array A. lda >= max(1,n).
inipivInteger array, dimension (n). Details of the interchanges and the block structure of D as determined by ZHETRF.
inoutBComplex*16 array, dimension (ldb, nrhs). On entry, the right hand side matrix B. On exit, the solution matrix X.
inldbThe leading dimension of the array B. ldb >= max(1,n).
outworkComplex*16 array, dimension (n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void zhetrs2(
const char* uplo,
const INT n,
const INT nrhs,
c128* restrict A,
const INT lda,
const INT* restrict ipiv,
c128* restrict B,
const INT ldb,
c128* restrict work,
INT* info
);