XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ zsytrs()

void zsytrs ( char  uplo,
int  n,
int  nrhs,
int  lda,
doublecomplex  a[],
int  ipiv[],
int  ldb,
doublecomplex  b[],
int *  info 
)

Solution to factorized system of linear equations AX = B for a complex symmetric matrix

Purpose
This routine solves a system of linear equations
A * X = B
with a complex symmetric matrix A using the factorization A = U*D*U^T or A = L*D*L^T computed by zsytrf.
Parameters
[in]uploSpecifies whether the details of the factorization are stored as an upper or lower triangular matrix
= 'U': Upper triangular, form is A = U*D*U^T.
= 'L': Lower triangular, form is A = L*D*L^T.
[in]nOrder of the matrix A. (n >= 0) (If n = 0, returns without computation)
[in]nrhsNumber of right hand sides, i.e., number of columns of the matrix B. (nrhs >= 0) (If nrhs = 0, returns without computation)
[in]ldaLeading dimension of the two dimensional array a[][]. (lda >= max(1, n))
[in]a[][]Array a[la][lda] (la >= n)
The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by zsytrf.
[in]ipiv[]Array ipiv[lipiv] (lipiv >= n)
Details of the interchanges and the block structure of D as determined by zsytrf.
[in]ldbLeading dimension of the two dimensional array b[][]. (ldb >= max(1, n))
[in,out]b[][]Array b[lb][ldb] (lb >= nrhs)
[in] Right hand side matrix B.
[out] Solution matrix X.
[out]info= 0: Successful exit
= -1: The argument uplo had an illegal value (uplo != 'U' nor 'L')
= -2: The argument n had an illegal value (n < 0)
= -3: The argument nrhs had an illegal value (nrhs < 0)
= -4: The argument lda had an illegal value (lda < max(1, n))
= -7: The argument ldb had an illegal value (ldb < max(1, n))
Reference
LAPACK