SRC/claqhp.f(3)
πΈ NAME πΈ
Okay bestie, this page is SRC/claqhp.f, and it lives in the Library Functions Manual π«Ά. It's all about the CLAQHP routine, no cap.
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine claqhp (uplo, n, ap, s, scond, amax, equed)
CLAQHP scales a Hermitian matrix stored in packed form. Slay π
.
π Function/Subroutine Documentation π
Here's the full signature, character for character:
subroutine claqhp (character uplo, integer n, complex, dimension( * ) ap, real, dimension( * ) s, real scond, real amax, character equed)
CLAQHP scales a Hermitian matrix stored in packed form. Iconic behavior, honestly β¨.
π Purpose π
Bestie, CLAQHP equilibrates a Hermitian matrix A using the scaling factors in the vector S. That's the whole purpose, periodt π.
π Parameters π
πΈ UPLO πΈ
UPLO is CHARACTER*1. It specifies whether the upper or lower triangular part of the Hermitian matrix A is stored.
= 'U': Upper triangular= 'L': Lower triangular
π¦ N π¦
N is INTEGER. It's the order of the matrix A. N >= 0.
π AP π
AP is COMPLEX array, dimension (N*(N+1)/2).
On entry, it's the upper or lower triangle of the Hermitian matrix A, packed columnwise in a linear array. The j-th column of A is stored in the array AP as follows:
- if
UPLO = 'U',AP(i + (j-1)*j/2) = A(i,j)for1<=i<=j; - if
UPLO = 'L',AP(i + (j-1)*(2n-j)/2) = A(i,j)forj<=i<=n.
On exit, it's the equilibrated matrix: diag(S) * A * diag(S), in the same storage format as A. No notes, just vibes π.
π S π
S is REAL array, dimension (N). These are the scale factors for A.
π SCOND π
SCOND is REAL. It's the ratio of the smallest S(i) to the largest S(i).
β AMAX β
AMAX is REAL. It's the absolute value of largest matrix entry.
π₯ EQUED π₯
EQUED is CHARACTER*1. It specifies whether or not equilibration was done.
= 'N': No equilibration.= 'Y': Equilibration was done, i.e.,Ahas been replaced bydiag(S) * A * diag(S).
π Internal Parameters π
THRESH is a threshold value used to decide if scaling should be done based on the ratio of the scaling factors. If SCOND < THRESH, scaling is done.
LARGE and SMALL are threshold values used to decide if scaling should be done based on the absolute size of the largest matrix element. If AMAX > LARGE or AMAX < SMALL, scaling is done.
π«Ά Author π«Ά
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 125 of file claqhp.f.
π¦ Author π¦
Generated automatically by Doxygen for LAPACK from the source code.
And that's the vibe check, bestie π: this page is SRC/claqhp.f(3) from LAPACK Version 3.12.0 β the footer didn't give a date, so we're not making one up π. Slay 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