SRC/zhetrs_rook.f(3)
π NAME π
SRC/zhetrs_rook.f
okay so bestie, this is the page from the Library Functions Manual for SRC/zhetrs_rook.f(3) β yes, the filename is the whole name, sheβs lowkey iconic like that. π
β¨ SYNOPSIS β¨
πΈ Functions/Subroutines πΈ
zhetrs_rookβ the subroutine in question. Short signature first, because thatβs how she enters:
subroutine zhetrs_rook (uplo, n, nrhs, a, lda, ipiv, b, ldb, info)
ZHETRS_ROOK computes the solution to a system of linear equations A * X = B for HE matrices using factorization obtained with one of the bounded diagonal pivoting methods (max 2 interchanges). No cap, thatβs the whole assignment. π₯
π Function/Subroutine Documentation π
subroutine zhetrs_rook (character uplo, integer n, integer nrhs, complex*16, dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, complex*16, dimension( ldb, * ) b, integer ldb, integer info)
ZHETRS_ROOK computes the solution to a system of linear equations A * X = B for HE matrices using factorization obtained with one of the bounded diagonal pivoting methods (max 2 interchanges).
π‘ Purpose π‘
ZHETRS_ROOK solves a system of linear equations A*X = B with a complex Hermitian matrix A using the factorization A = U*D*U**H or A = L*D*L**H computed by ZHETRF_ROOK.
Thatβs the vibe: itβs the solve step after the factorization has already done its thing. π«Ά
π§ Parameters π§
UPLOβUPLO is CHARACTER*1. Tells you whether the details of the factorization are stored as an upper or lower triangular matrix.= 'U': upper triangular, form isA = U*D*U**H;= 'L': lower triangular, form isA = L*D*L**H.NβN is INTEGER. The order of the matrixA. Must beN >= 0.NRHSβNRHS is INTEGER. The number of right hand sides, i.e., the number of columns of the matrixB. Must beNRHS >= 0.AβA is COMPLEX*16 array, dimension (LDA,N). The block diagonal matrixDand the multipliers used to obtain the factorUorLas computed byZHETRF_ROOK.LDAβLDA is INTEGER. The leading dimension of the arrayA. Must beLDA >= max(1,N).IPIVβIPIV is INTEGER array, dimension (N). Details of the interchanges and the block structure ofDas determined byZHETRF_ROOK.BβB is COMPLEX*16 array, dimension (LDB,NRHS). On entry, the right hand side matrixB. On exit, the solution matrixX. Literally the glow-up happens here. β¨LDBβLDB is INTEGER. The leading dimension of the arrayB. Must beLDB >= max(1,N).INFOβINFO is INTEGER.= 0: successful exit;< 0: ifINFO = -i, the i-th argument had an illegal value.
bestie ifINFO < 0, thatβs not a vibe β it means an argument was illegal, specifically the i-th one whenINFO = -i. Fix it before you come for the matrix. π
π«Ά Author π«Ά
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
π Contributors: π
November 2013, Igor Kozachenko, Computer Science Division, University of California, Berkeley
September 2007, Sven Hammarling, Nicholas J. Higham, Craig Lucas, School of Mathematics, University of Manchester
Definition at line 134 of file zhetrs_rook.f.
Thatβs the exact line, no need to squint. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
LAPACK Version 3.12.0, source SRC/zhetrs_rook.f(3) β and the date tea on this page comes from the contributors above: November 2013 and September 2007. bye bestie, go solve that Hermitian system responsibly! πβ¨π
π¦ 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