/home/abui...a_2stage.f(3)
πΈ NAME πΈ
okay bestie, welcome to the Library Functions Manual page for /home/abui...a_2stage.f(3). The file this page documents is literally:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/csysv_aa_2stage.f
β¨ SYNOPSIS β¨
π« Functions/Subroutines π«
subroutine CSYSV_AA_2STAGE (uplo, n, nrhs, a, lda, tb, ltb, ipiv, ipiv2,
b, ldb, work, lwork, info)
The one-line summary is: CSYSV_AA_2STAGE computes the solution to system of linear equations A * X = B for SY matrices. Slay.
π¦ Function/Subroutine Documentation π¦
subroutine CSYSV_AA_2STAGE (character uplo, integer n, integer nrhs,
complex, dimension( lda, * ) a, integer lda, complex, dimension( * ) tb,
integer ltb, integer, dimension( * ) ipiv, integer, dimension( * )
ipiv2, complex, dimension( ldb, * ) b, integer ldb, complex, dimension(
* ) work, integer lwork, integer info)
CSYSV_AA_2STAGE computes the solution to system of linear equations A * X = B for SY matrices.
π Purpose π
okay so picture this: you've got 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. That's the whole quest.
Aasen's 2-stage algorithm is used to factor A as
A = U**T * T * U, if UPLO = 'U', or
A = L * T * L**T, if UPLO = 'L',
where U (or L) is a product of permutation and unit upper (lower) triangular matrices, and T is symmetric and band. Then T gets LU-factored with partial pivoting. The factored form of A is then used to solve the system of equations A * X = B.
This is the blocked version of the algorithm, calling Level 3 BLAS. Iconic.
π Parameters π
UPLOβUPLO is CHARACTER*1, and it tells you which triangle is stored:= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored.
NβN is INTEGER; the order of the matrixA.N >= 0.NRHSβNRHS is INTEGER; the number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.AβA is COMPLEX array, dimension (LDA,N). On entry, the symmetric matrixA.- If
UPLO = 'U', the leadingN-by-Nupper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. - If
UPLO = '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,Lis stored below (or above) the subdiagonal blocks, whenUPLOis'L'(or'U').
- If
LDAβLDA is INTEGER; the leading dimension of the arrayA.LDA >= max(1,N).TBβTB is COMPLEX array, dimension (LTB). On exit, details of the LU factorization of the band matrix.LTBβLTB is INTEGER; the size of the arrayTB.LTB >= 4*N, internally used to selectNBsuch thatLTB >= (3*NB+1)*N.
IfLTB = -1, then a workspace query is assumed; the routine only calculates the optimal size ofLTB, returns this value as the first entry ofTB, and no error message related toLTBis issued byXERBLA.
IPIVβIPIV is INTEGER array, dimension (N). On exit, it contains the details of the interchanges, i.e., the row and columnkofAwere interchanged with the row and columnIPIV(k).IPIV2βIPIV2 is INTEGER array, dimension (N). On exit, it contains the details of the interchanges, i.e., the row and columnkofTwere interchanged with the row and columnIPIV(k).BβB is COMPLEX array, dimension (LDB,NRHS). On entry, the right hand side matrixB. On exit, the solution matrixX.LDBβLDB is INTEGER; the leading dimension of the arrayB.LDB >= max(1,N).WORKβWORK is COMPLEX workspace of size LWORK.LWORKβLWORK is INTEGER; the size ofWORK.LWORK >= N, internally used to selectNBsuch thatLWORK >= N*NB.
IfLWORK = -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.
INFOβINFO is INTEGER:= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value.> 0: ifINFO = i, band LU factorization failed oni-th column
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 183 of file csysv_aa_2stage.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, that's the whole page π«Ά The footer's source/version info is LAPACK Version 3.12.0, and the page tag is /home/abui...a_2stage.f(3) β no separate date shown in this footer, so I'm not inventing one πβ¨
π¦ 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