CLANHP(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’– 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:

  • norm1 means the one norm of a matrix (maximum column sum)
  • normI means the infinity norm of a matrix (maximum row sum)
  • normF means 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 β€” NORM is CHARACTER*1; specifies the value to be returned in CLANHP as described above.
  • UPLO β€” UPLO is CHARACTER*1; specifies whether the upper or lower triangular part of the Hermitian matrix A is supplied. = 'U': Upper triangular part of A is supplied; = 'L': Lower triangular part of A is supplied.
  • N β€” N is INTEGER; the order of the matrix A. N >= 0. When N = 0, CLANHP is set to zero.
  • AP β€” AP is COMPLEX array, dimension (N*(N+1)/2); 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) 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 β€” WORK is REAL array, dimension (MAX(1,LWORK)), where LWORK >= N when NORM = 'I' or '1' or 'O'; otherwise, WORK is 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