CLANHP(3)
π CLANHP(3) π
Okay so this page is CLANHP(3), from the Library Functions Manual, and the header path is /home/abui...RC/clanhp.f(3). We are so in our LAPACK era rn. β¨
πΈ NAME πΈ
Literally just this file path, bestie:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/clanhp.f
β¨ SYNOPSIS β¨
π Functions/Subroutines π
real function CLANHP (norm, uplo, n, ap, work)
CLANHP returns the value of the 1-norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a complex Hermitian matrix supplied in packed form. No cap. π
π¦ Function/Subroutine Documentation π¦
π real function CLANHP π
real function CLANHP (character norm, character uplo, integer n, complex, dimension( * ) ap, real, dimension( * ) work)
CLANHP returns the value of the 1-norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a complex Hermitian matrix supplied in packed form. That's the whole assignment. π₯
π Purpose
CLANHP returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a complex Hermitian matrix A, supplied in packed form. It's giving "I only do packed Hermitian matrices" and honestly? Iconic. π
π Returns
The Returns section labels the return value CLANHP, and here's the mapping, bestie:
NORM = 'M' or 'm'βmax(abs(A(i,j)))NORM = '1', 'O' or 'o'βnorm1(A)NORM = 'I' or 'i'βnormI(A)NORM = 'F', 'f', 'E' or 'e'βnormF(A)
Where:
norm1means the one norm of a matrix (maximum column sum)normImeans the infinity norm of a matrix (maximum row sum)normFmeans the Frobenius norm of a matrix (square root of sum of squares)
Note that max(abs(A(i,j))) is not a consistent matrix norm. That's a real warning, not a vibe check. π
π Parameters
NORMβNORMisCHARACTER*1; specifies the value to be returned inCLANHPas described above.UPLOβUPLOisCHARACTER*1; specifies whether the upper or lower triangular part of the Hermitian matrixAis supplied.= 'U': Upper triangular part of A is supplied;= 'L': Lower triangular part of A is supplied.NβNisINTEGER; the order of the matrixA.N >= 0. WhenN = 0,CLANHPis set to zero.APβAPisCOMPLEX array, dimension (N*(N+1)/2); 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.Note that the imaginary parts of the diagonal elements need not be set and are assumed to be zero.WORKβWORKisREAL array, dimension (MAX(1,LWORK)), whereLWORK >= NwhenNORM = 'I' or '1' or 'O'; otherwise,WORKis not referenced.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 116 of file clanhp.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
Mwah π β this page is LAPACK Version 3.12.0, and the footer path is /home/abui...RC/clanhp.f(3). No actual calendar date got printed, so Iβm not inventing one, bestie. π«Ά
π¦ 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