/home/abui...hetrs_aa.f(3)
π /home/abui...hetrs_aa.f(3) β Library Functions Manual energy β¨
okay so bestie, welcome to the glow-up zone π this is a page from the Library Functions Manual, and it's literally the documentation for one very specific LAPACK file. buckle up, we're getting into it π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/chetrs_aa.f
that's the whole name, no cap. it's giving "my full government name is a file path" π but honestly? iconic.
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine CHETRS_AA (uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork,
info)
CHETRS_AA β that's her. that's the main character π
πΈ Function/Subroutine Documentation πΈ
subroutine CHETRS_AA (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)
CHETRS_AA π (the long-form signature, for when you need to see everything)
Purpose: π«
!>
!> CHETRS_AA solves a system of linear equations A*X = B with a complex
!> hermitian matrix A using the factorization A = U**H*T*U or
!> A = L*T*L**H computed by CHETRF_AA.
!>
so basically she solves A*X = B for you when A is a complex hermitian matrix π§ and she does it using the factorization that CHETRF_AA already did the hard work of computing. teamwork, bestie π«Ά
π Parameters π
UPLOβUPLO is CHARACTER*1. tells us whether the factorization details got stored as an upper or lower triangular matrix. the options are:= 'U':upper triangular, form isA = U**H*T*U;= 'L':lower triangular, form isA = L*T*L**H.
NβN is INTEGER. the order of the matrixA. and the rule isN >= 0π ββοΈ no negativity allowed.NRHSβNRHS is INTEGER. the number of right hand sides, i.e., the number of columns of the matrixB. constraint:NRHS >= 0βAβA is COMPLEX array, dimension (LDA,N). this is where the details of the factors computed byCHETRF_AAlive πLDAβLDA is INTEGER. the leading dimension of the arrayA, and you must haveLDA >= max(1,N)β οΈ don't test her.IPIVβIPIV is INTEGER array, dimension (N). details of the interchanges as computed byCHETRF_AAπBβB is COMPLEX array, dimension (LDB,NRHS). on entry: the right hand side matrixB. on exit: the solution matrixX. she really said "same array, new me" π β¨LDBβLDB is INTEGER. the leading dimension of the arrayB. requirement:LDB >= max(1,N)π¨WORKβWORK is COMPLEX array, dimension (MAX(1,LWORK))π οΈLWORKβLWORK is INTEGER. the dimension of the arrayWORK, and the rule isLWORK >= max(1,3*N-2)π memorize it, iykyk.INFOβINFO is INTEGER. the vibe check at the end:= 0:successful exit π< 0:ifINFO = -i, the i-th argument had an illegal value π (rude, but she's telling you which one)
π Author π
the legends behind it:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 129 of file chetrs_aa.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code. she didn't write herself, bestie β the robots did π€β¨
fr fr that's the whole page. every flag, every constraint, every author, all accounted for. periodt. π
LAPACK β Version 3.12.0 β and that footer date lives at /home/abui...hetrs_aa.f(3) π¦πΈ mwah, go solve some linear systems π«Άπ₯
π¦ 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