CHETRS(3)
π NAME
okay so bestie, this is the manual page for /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/chetrs.f, straight out of the Library Functions Manual β¨ (yes, the whole giant build path is genuinely the name, we don't make the rules, the auto-generator does π).
β¨ SYNOPSIS β¨
πΈ Functions/Subroutines
subroutine CHETRS (uplo, n, nrhs, a, lda, ipiv, b, ldb, info)
CHETRS β that's her, that's the icon π
π¦ Function/Subroutine Documentation π¦
subroutine CHETRS (character uplo, integer n, integer nrhs, complex,
dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv,
complex, dimension( ldb, * ) b, integer ldb, integer info)
CHETRS π (yes they really do write the name twice, it's giving main character energy fr fr)
π Purpose
!> CHETRS solves a system of linear equations A*X = B with a complex Hermitian matrix A using the factorization A = U*D*UH or A = L*D*LH computed by CHETRF.
so basically: you already did the whole factorization thing with CHETRF, and now she's here to actually solve A*X = B for you, where A is a complex Hermitian matrix π. You don't redo the factorization, you just hand her the pieces and she handles the rest. obsessed honestly π«Ά
π§ Parameters
π UPLO
UPLO is CHARACTER*1 β it tells her whether the factorization details are chilling as an upper or lower triangular matrix β¨
= 'U'β upper triangular, and the form isA = U*D*U**H= 'L'β lower triangular, and the form isA = L*D*L**H
pick one, bestie, those are literally the two options π
π N
N is INTEGER β the order of the matrix A, and N >= 0 β
π NRHS
NRHS is INTEGER β the number of right hand sides, aka the number of columns of the matrix B, and NRHS >= 0 π¦
π A
A is COMPLEX array, dimension (LDA,N) β this is where the block diagonal matrix D lives, plus the multipliers used to get the factor U or L, exactly as computed by CHETRF π
π LDA
LDA is INTEGER β the leading dimension of the array A, and LDA >= max(1,N) π
π IPIV
IPIV is INTEGER array, dimension (N) β the deets on the interchanges and the block structure of D, as determined by CHETRF π₯
π B
B is COMPLEX array, dimension (LDB,NRHS) πΈ
- on entry: the right hand side matrix
B - on exit: the solution matrix
X
she literally swaps it in place, iconic behaviour, no cap π
π LDB
LDB is INTEGER β the leading dimension of the array B, and LDB >= max(1,N) β¨
π INFO
INFO is INTEGER β the vibe report π
= 0β successful exit, slay π< 0β ifINFO = -i, the i-th argument had an illegal value π
π«Ά Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 119 of file chetrs.f. π
π Author
Generated automatically by Doxygen for LAPACK from the source code π€β¨ (she didn't write her own bio, the robots did it for her)
and that's the whole page, bestie π this was brought to you by LAPACK Version 3.12.0, living at /home/abui...RC/chetrs.f(3) β mwah, go solve something ππ
π¦
π¦ 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