ZLAQHE(3)
π ZLAQHE(3) β ok so hear me out, bestie
So this is a manual page from the Library Functions Manual, and it lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zlaqhe.f β which, yes, is a whole entire path, but that's literally the name of the page so we're keeping it, no cap. π«Ά
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zlaqhe.f
That's it. That's the name. She's a file path and she's thriving. π
π SYNOPSIS π
Functions/Subroutines
subroutine ZLAQHE (uplo, n, a, lda, s, scond, amax, equed)
ZLAQHE scales a Hermitian matrix. Iconic behaviour, honestly. πΈ
π¦ Function/Subroutine Documentation π¦
subroutine ZLAQHE (character uplo, integer n, complex*16, dimension( lda, * ) a, integer lda, double precision, dimension( * ) s, double precision scond, double precision amax, character equed)
ZLAQHE scales a Hermitian matrix. (Yes we're saying it again, she's a repeater and she's right.) β¨
π Purpose
ZLAQHE equilibrates a Hermitian matrix A using the scaling factors in the vector S.
Bestie, "equilibrate" here just means balancing her out β she takes the scaling factors sitting in the vector S and uses them to rescale the matrix A. Main character energy, mathematically speaking. π₯
π Parameters
π UPLO
UPLO is CHARACTER*1 and it specifies whether the upper or lower triangular part of the Hermitian matrix A is stored. So like, which half of her are we actually looking at:
= 'U': Upper triangular= 'L': Lower triangular
π§ N
N is INTEGER β the order of the matrix A. And N >= 0, okay? That's the vibe check. π«
πΈ A
A is COMPLEX*16 array, dimension (LDA,N).
On entry, this is the Hermitian matrix A. If UPLO = 'U', the leading n by n upper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced (she's not even looking at it, don't worry about her π). If UPLO = 'L', the leading n by n lower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced.
On exit, if EQUED = 'Y', you get the equilibrated matrix:
diag(S) * A * diag(S)
Periodt. π
π LDA
LDA is INTEGER β the leading dimension of the array A. And LDA >= max(N,1). Respect the constraint, she means it. π«Ά
β S
S is DOUBLE PRECISION array, dimension (N) β the scale factors for A. Little loves doing little scaling. π
π¦ SCOND
SCOND is DOUBLE PRECISION β the ratio of the smallest S(i) to the largest S(i). Tiny-over-big, we love a ratio. π
π₯ AMAX
AMAX is DOUBLE PRECISION β the absolute value of the largest matrix entry. Big girl energy. π
π EQUED
EQUED is CHARACTER*1 β specifies whether or not equilibration was done. The receipts, basically:
= 'N': No equilibration= 'Y': Equilibration was done, i.e., A has been replaced bydiag(S) * A * diag(S)
π Internal Parameters
THRESHis a threshold value used to decide if scaling should be done based on the ratio of the scaling factors. IfSCOND < THRESH, scaling is done.
LARGEandSMALLare threshold values used to decide if scaling should be done based on the absolute size of the largest matrix element. IfAMAX > LARGE or AMAX < SMALL, scaling is done.
So the tea is: she checks both the ratio situation and the absolute-size situation before deciding to scale. Two vibe checks, not one. π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 133 of file zlaqhe.f. Slay. β¨
π Author (again, but the other one)
Generated automatically by Doxygen for LAPACK from the source code. Not a human, just Doxygen doing her thing, and honestly? She ate. π
Ok that's the whole page bestie, go equilibrate something responsibly π
LAPACK β Version 3.12.0 π and the file is /home/abui...RC/zlaqhe.f(3), mwah, bye ππ¦
π¦ 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