SRC/zlaqhp.f(3)
π«Ά SRC/zlaqhp.f(3) π«Ά
From the Library Functions Manual. okay bestie, this is the page for SRC/zlaqhp.f, and itβs all about the zlaqhp subroutine doing its packed-Hermitian scaling thing π
β¨ NAME β¨
SRC/zlaqhp.f
πΈ SYNOPSIS πΈ
π οΈ Functions/Subroutines
subroutine zlaqhp (uplo, n, ap, s, scond, amax, equed)β ZLAQHP scales a Hermitian matrix stored in packed form.
π Function/Subroutine Documentation π
subroutine zlaqhp (character uplo, integer n, complex*16, dimension( * ) ap,
double precision, dimension( * ) s, double precision scond, double
precision amax, character equed)
ZLAQHP scales a Hermitian matrix stored in packed form.
π¦ Purpose
ZLAQHP equilibrates a Hermitian matrix A using the scaling factors in the vector S.
π Parameters
UPLOβCHARACTER*1. Specifies whether the upper or lower triangular part of the Hermitian matrixAis stored.= 'U': Upper triangular= 'L': Lower triangular
NβINTEGER. The order of the matrixA.N >= 0.APβCOMPLEX*16 array, dimension (N*(N+1)/2). On entry, the upper or lower triangle of the Hermitian matrixA, packed columnwise in a linear array. The j-th column ofAis stored in the arrayAPas follows:
if UPLO = 'U', AP(i + (j-1)*j/2) = A(i,j) for 1<=i<=j;
if UPLO = 'L', AP(i + (j-1)*(2n-j)/2) = A(i,j) for j<=i<=n.
On exit, the equilibrated matrix: diag(S) * A * diag(S), in the same storage format as A.
SβDOUBLE PRECISION array, dimension (N). The scale factors forA.SCONDβDOUBLE PRECISION. Ratio of the smallestS(i)to the largestS(i).AMAXβDOUBLE PRECISION. Absolute value of largest matrix entry.EQUEDβCHARACTER*1. 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
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 > LARGEorAMAX < SMALL, scaling is done.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 125 of file zlaqhp.f.
π§ Author (auto-generated bit) π§
Generated automatically by Doxygen for LAPACK from the source code.
Byeee bestie π«Ά this oneβs from LAPACK, Version 3.12.0, and the page is SRC/zlaqhp.f(3) β¨
π¦ 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