hetrs#
Functions
-
void chetrs(const char *uplo, const INT n, const INT nrhs, const c64 *restrict A, const INT lda, const INT *restrict ipiv, c64 *restrict B, const INT ldb, INT *info)#
CHETRS 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.
Parameters
inuplo'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, i.e., the number of columns of the matrix B.
nrhs>=0.inAArray of dimension
(lda,n). The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed bychetrf.inldaThe leading dimension of the array A.
lda>=max(1,n).inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined bychetrf.inoutBArray of 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).outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void chetrs(
const char* uplo,
const INT n,
const INT nrhs,
const c64* restrict A,
const INT lda,
const INT* restrict ipiv,
c64* restrict B,
const INT ldb,
INT* info
);
Functions
-
void zhetrs(const char *uplo, const INT n, const INT nrhs, const c128 *restrict A, const INT lda, const INT *restrict ipiv, c128 *restrict B, const INT ldb, INT *info)#
ZHETRS 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.
Parameters
inuplo'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, i.e., the number of columns of the matrix B.
nrhs>=0.inAArray of dimension
(lda,n). The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed byzhetrf.inldaThe leading dimension of the array A.
lda>=max(1,n).inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined byzhetrf.inoutBArray of 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).outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void zhetrs(
const char* uplo,
const INT n,
const INT nrhs,
const c128* restrict A,
const INT lda,
const INT* restrict ipiv,
c128* restrict B,
const INT ldb,
INT* info
);