SRC/zsysv.f(3)
okay bestie, this is SRC/zsysv.f(3) from the Library Functions Manual โ and no cap, it's giving complex symmetric solver realness. ๐
โจ
๐ธ NAME ๐ธ
SRC/zsysv.f โ that's the name, and that's the whole name. Periodt. ๐
โจ SYNOPSIS โจ
๐ Functions/Subroutines ๐
subroutine zsysv (uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork,
info)
ZSYSV computes the solution to system of linear equations A * X = B
for SY matrices
๐ง Function/Subroutine Documentation ๐ง
๐ฆ subroutine zsysv ๐ฆ
okay here's the full signature, bestie โ copied exactly, no edits, no "fixing" the vibe:
subroutine zsysv (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 lwork, integer info)
and the headline is literally: ZSYSV computes the solution to system of linear equations A * X = B for SY matrices. ๐ซถ
๐ฎ Purpose ๐ฎ
okay so the glow-up here: ZSYSV computes the solution to a complex system of linear equations
A * X = B,
where A is an N-by-N symmetric matrix and X and B are N-by-NRHS matrices. periodt. ๐
The diagonal pivoting method is used to factor A as
A = U * D * U**T, if UPLO = 'U', or
A = L * D * L**T, if UPLO = 'L',
where U (or L) is a product of permutation and unit upper (lower) triangular matrices, and D is symmetric and block diagonal with 1-by-1 and 2-by-2 diagonal blocks. The factored form of A is then used to solve the system of equations A * X = B. slay. ๐
๐ Parameters ๐
UPLOโUPLO is CHARACTER*1= 'U': Upper triangle of A is stored;= 'L': Lower triangle of A is stored.
NโN is INTEGERThe number of linear equations, i.e., the order of the matrixA.N >= 0.NRHSโNRHS is INTEGERThe number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.AโA is COMPLEX*16 array, dimension (LDA,N)On entry, the symmetric matrixA. IfUPLO = 'U', the leadingN-by-Nupper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leadingN-by-Nlower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced.
On exit, if INFO = 0, the block diagonal matrix D and the multipliers used to obtain the factor U or L from the factorization A = U*D*U**T or A = L*D*L**T as computed by ZSYTRF.
LDAโLDA is INTEGERThe leading dimension of the arrayA.LDA >= max(1,N).IPIVโIPIV is INTEGER array, dimension (N)Details of the interchanges and the block structure ofD, as determined byZSYTRF. IfIPIV(k) > 0, then rows and columnskandIPIV(k)were interchanged, andD(k,k)is a1-by-1diagonal block. IfUPLO = 'U'andIPIV(k) = IPIV(k-1) < 0, then rows and columnsk-1and-IPIV(k)were interchanged andD(k-1:k,k-1:k)is a2-by-2diagonal block. IfUPLO = 'L'andIPIV(k) = IPIV(k+1) < 0, then rows and columnsk+1and-IPIV(k)were interchanged andD(k:k+1,k:k+1)is a2-by-2diagonal block.BโB is COMPLEX*16 array, dimension (LDB,NRHS)On entry, theN-by-NRHSright hand side matrixB. On exit, ifINFO = 0, theN-by-NRHSsolution matrixX.LDBโLDB is INTEGERThe leading dimension of the arrayB.LDB >= max(1,N).WORKโWORK is COMPLEX*16 array, dimension (MAX(1,LWORK))On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKโLWORK is INTEGERThe length ofWORK.LWORK >= 1, and for best performanceLWORK >= max(1,N*NB), whereNBis the optimal blocksize forZSYTRF.- for
LWORK < N, TRS will be done with Level BLAS 2 - for
LWORK >= N, TRS will be done with Level BLAS 3
- for
If LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of the WORK array, returns this value as the first entry of the WORK array, and no error message related to LWORK is issued by XERBLA.
INFOโINFO is INTEGER= 0: successful exit< 0: if INFO = -i, the i-th argument had an illegal value> 0: if INFO = i, D(i,i) is exactly zero. The factorization has been completed, but the block diagonal matrix D is exactly singular, so the solution could not be computed.
๐ Author ๐
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 169 of file zsysv.f.
๐ซถ Author ๐ซถ
Generated automatically by Doxygen for LAPACK from the source code.
that's the whole page, bestie โ signed off with LAPACK Version 3.12.0 and source SRC/zsysv.f(3), and the page didn't hand me a date so I'm not inventing one. mwah ๐โจ
๐ฆ 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