/home/abui...RC/csysv.f(3)
π NAME π
ok so bestie, this is the manual page for /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/csysv.f β from the Library Functions Manual, page csysv.f(3). it's a whole LAPACK situation and we're gonna get through it together, i promise π«Ά
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine CSYSV (uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork,
info)
CSYSV computes the solution to system of linear equations A * X = B for SY matrices π₯
π¦ Function/Subroutine Documentation π¦
subroutine CSYSV (character uplo, integer n, integer nrhs, complex,
dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv,
complex, dimension( ldb, * ) b, integer ldb, complex, dimension( * )
work, integer lwork, integer info)
CSYSV computes the solution to system of linear equations A * X = B for SY matrices. no cap, that's literally the whole gig π
πΈ Purpose πΈ
ok so picture this: CSYSV 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. main character matrices fr π
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. iconic behaviour honestly π
π Parameters π
UPLOβUPLOisCHARACTER*1, and it's giving "which triangle are we even talking about":= 'U':Upper triangle ofAis stored;= 'L':Lower triangle ofAis stored.
NβNisINTEGER. the number of linear equations, i.e., the order of the matrixA.N >= 0. πNRHSβNRHSisINTEGER. the number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0. πAβAisCOMPLEX array, dimension (LDA,N).- On entry, the symmetric matrix
A. ifUPLO = 'U', the leading N-by-N upper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. ifUPLO = 'L', the leading N-by-N lower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced. (the other half is literally not invited to the party π) - On exit, if
INFO = 0, the block diagonal matrixDand the multipliers used to obtain the factorUorLfrom the factorizationA = U*D*U**TorA = L*D*L**Tas computed byCSYTRF. β¨
- On entry, the symmetric matrix
LDAβLDAisINTEGER. the leading dimension of the arrayA.LDA >= max(1,N).IPIVβIPIVisINTEGER array, dimension (N). deets on the interchanges and the block structure ofD, as determined byCSYTRF. so:- if
IPIV(k) > 0, then rows and columnskandIPIV(k)were interchanged, andD(k,k)is a 1-by-1 diagonal block. π - if
UPLO = 'U'andIPIV(k) = IPIV(k-1) < 0, then rows and columnsk-1and-IPIV(k)were interchanged andD(k-1:k,k-1:k)is a 2-by-2 diagonal block. - if
UPLO = 'L'andIPIV(k) = IPIV(k+1) < 0, then rows and columnsk+1and-IPIV(k)were interchanged andD(k:k+1,k:k+1)is a 2-by-2 diagonal block.
- if
BβBisCOMPLEX array, dimension (LDB,NRHS).- On entry, the N-by-NRHS right hand side matrix
B. - On exit, if
INFO = 0, the N-by-NRHS solution matrixX. the glow-up is real π
- On entry, the N-by-NRHS right hand side matrix
LDBβLDBisINTEGER. the leading dimension of the arrayB.LDB >= max(1,N).WORKβWORKisCOMPLEX array, dimension (MAX(1,LWORK)). on exit, ifINFO = 0,WORK(1)returns the optimalLWORK. π§LWORKβLWORKisINTEGER. the length ofWORK.LWORK >= 1, and for best performanceLWORK >= max(1,N*NB), whereNBis the optimal blocksize forCSYTRF.- for
LWORK < N, TRS will be done with Level BLAS 2 - for
LWORK >= N, TRS will be done with Level BLAS 3 - if
LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of theWORKarray, returns this value as the first entry of theWORKarray, and no error message related toLWORKis issued byXERBLA. (yes,-1is the "just tell me how much room i need" mode, it's a vibe check not a real call π)
- for
INFOβINFOisINTEGER:= 0:successful exit π< 0:ifINFO = -i, the i-th argument had an illegal value> 0:ifINFO = i,D(i,i)is exactly zero. the factorization has been completed, but the block diagonal matrixDis exactly singular, so the solution could not be computed. π that one hurts
heads up bestie:INFO > 0means the routine did finish the factorization, butDcame out exactly singular β so there's no solution to hand back. don't go looking for one.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 169 of file csysv.f.
πΈ Author (the meta one) πΈ
Generated automatically by Doxygen for LAPACK from the source code. it wrote its own about-me, obsessed π€β¨
that's the whole page, bestie β go forth and solve your complex symmetric systems π
LAPACK β Version 3.12.0 π¦ mwah, thanks for reading, ilysm π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms