Developer Reference for Intel® oneAPI Math Kernel Library for C
?sytrs_aa
Solves a system of linear equations A * X = B with a symmetric matrix.
Syntax
lapack_intLAPACKE_ssytrs_aa ( intmatrix_layout , charuplo , lapack_intn , lapack_intnrhs , constfloat*A , lapack_intlda , constlapack_int*ipiv , float*B , lapack_intldb );
lapack_intLAPACKE_dsytrs_aa ( intmatrix_layout , charuplo , lapack_intn , lapack_intnrhs , constdouble*A , lapack_intlda , constlapack_int*ipiv , double*B , lapack_intldb );
lapack_intLAPACKE_csytrs_aa ( intmatrix_layout , charuplo , lapack_intn , lapack_intnrhs , constlapack_complex_float*A , lapack_intlda , constlapack_int*ipiv , lapack_complex_float*B , lapack_intldb );
lapack_intLAPACKE_zsytrs_aa ( intmatrix_layout , charuplo , lapack_intn , lapack_intnrhs , constlapack_complex_double*A , lapack_intlda , constlapack_int*ipiv , lapack_complex_double*B , lapack_intldb );
Description
?sytrs_aa solves a system of linear equations A * X = B with a symmetric matrix A using the factorization A = U*T*U T or A = L*T*L T computed by ?sytrf_aa .
Input Parameters
- matrix_layout
-
Specifies whether matrix storage layout is row major ( LAPACK_ROW_MAJOR ) or column major ( LAPACK_COL_MAJOR ).
- uplo
-
CHARACTER*1 Specifies whether the details of the factorization are stored as an upper or lower triangular matrix.
- n
-
INTEGER The order of the matrix A. n ≥ 0.
- nrhs
-
INTEGER The number of right-hand sides; that is, the number of columns of the matrix B. nrhs ≥ 0.
- A
-
REAL for ssytrs_aa DOUBLE COMPLEX for dsytrs_aa COMPLEX for csytrs_aa COMPLEX*16 for zsytrs_aa
Array of size max(1, lda * n ). Details of factors computed by ?sytrf_aa .
- lda
-
INTEGER
The leading dimension of the array A .
- ipiv
-
INTEGER
Array of size n . Details of the interchanges as computed by ?sytrf_aa .
- B
-
REAL for ssytrs_aa DOUBLE COMPLEX for dsytrs_aa COMPLEX for csytrs_aa COMPLEX*16 for zsytrs_aa
Array of size max(1, ldb * nrhs ). On entry, the right-hand side matrix B.
- ldb
-
INTEGER
The leading dimension of the array B . ldb ≥ max(1, n ) for column-major layout and ldb ≥ nrhs for row-major layout.
- work
-
Array, dimension (MAX(1, lwork )). REAL for ssytrs_aa DOUBLE COMPLEX for dsytrs_aa COMPLEX for csytrs_aa COMPLEX*16 for zsytrs_aa
- lwork
-
INTEGER The length of the array work .
Output Parameters
- B
-
REAL for ssytrs_aa DOUBLE COMPLEX for dsytrs_aa COMPLEX for csytrs_aa COMPLEX*16 for zsytrs_aa On exit, the solution matrix X.
Return Values
This function returns a value info .
If info = 0, the execution is successful.
If info = -i , the ith argument had an illegal value.