SRC/zsytrs2.f(3)
πΈ SRC/zsytrs2.f(3) β Library Functions Manual πΈ
okay so bestie, you've landed on the SRC/zsytrs2.f(3) page from the Library Functions Manual. It's a LAPACK subroutine page, and it's lowkey iconic: we're solving A*X = B with a complex symmetric matrix A, using a factorization that ZSYTRF computed and ZSYCONV converted. Let's go π
β¨ NAME β¨
SRC/zsytrs2.f β that's the name/filename this page is about. Short, sweet, slay.
π SYNOPSIS π
π¦ Functions/Subroutines π¦
subroutine zsytrs2 (uplo, n, nrhs, a, lda, ipiv, b, ldb, work, info)βZSYTRS2
subroutine zsytrs2 (uplo, n, nrhs, a, lda, ipiv, b, ldb, work, info)
ZSYTRS2
π Function/Subroutine Documentation π
π subroutine zsytrs2 π
Full signature, exactly as the page gives it:
subroutine zsytrs2 (character uplo, integer n, integer nrhs, complex*16,
dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv,
complex*16, dimension( ldb, * ) b, integer ldb, complex*16, dimension( *
) work, integer info)
ZSYTRS2
π¦ Purpose π¦
ZSYTRS2 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 and converted by ZSYCONV.
πΈ Parameters πΈ
UPLOβ aCHARACTER*1that tells us whether the details of the factorization are stored as an upper or lower triangular matrix. The values are:= 'U': Upper triangular, form is A = U*D*U**T;= 'L': Lower triangular, form is A = L*D*L**T.
NβINTEGER; the order of the matrixA. Constraint:N >= 0.NRHSβINTEGER; the number of right hand sides, i.e., the number of columns of the matrixB. Constraint:NRHS >= 0.AβCOMPLEX*16 array, dimension (LDA,N); the block diagonal matrixDand the multipliers used to obtain the factorUorLas computed byZSYTRF.
bestie, heads up:Aisinput / output, not input-only. This might be counter-intuitive, and one may think thatAis input only. ButAisinput / output. This is because, at the start of the subroutine, we permuteAin a form and then we permuteAback to its original form at the end. That's the whole tea π«.
LDAβINTEGER; the leading dimension of the arrayA. Constraint:LDA >= max(1,N).IPIVβINTEGER array, dimension (N); details of the interchanges and the block structure ofDas determined byZSYTRF.BβCOMPLEX*16 array, dimension (LDB,NRHS); on entry, the right hand side matrixB. On exit, the solution matrixX.LDBβINTEGER; the leading dimension of the arrayB. Constraint:LDB >= max(1,N).WORKβCOMPLEX*16 array, dimension (N).INFOβINTEGER; the exit-status bestie:= 0: successful exit< 0: if INFO = -i, the i-th argument had an illegal value
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 130 of file zsytrs2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
footer tea, served cute: source/version is LAPACK Version 3.12.0, and the page/source is SRC/zsytrs2.f(3). The original footer doesn't print a date, so we're not inventing one β no cap, bestie ππ
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms