SRC/zlansp.f(3)
okay so bestie, welcome to the SRC/zlansp.f(3) page from the Library Functions Manual π this is the whole lore, and we're keeping every array bound, every norm letter, and every tiny detail, periodt β¨
β¨ NAME β¨
SRC/zlansp.f β yes, that's the name, no cap π
πΈ SYNOPSIS πΈ
π§ Functions/Subroutines π§
double precision function zlansp (norm, uplo, n, ap, work)β okay soZLANSPreturns the value of the 1-norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a symmetric matrix supplied in packed form. slay π
π¦ Function/Subroutine Documentation π¦
here's the full signature, bestie β same facts, all dolled up:
double precision function zlansp (character norm, character uplo, integer n,
complex*16, dimension( * ) ap, double precision, dimension( * ) work)
ZLANSP returns the value of the 1-norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a symmetric matrix supplied in packed form. iconic π
β¨ Purpose β¨
ZLANSP 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 symmetric matrix A, supplied in packed form. π¦
π Returns π
ZLANSP
the return value is literally:
!> ZLANSP = ( max(abs(A(i,j))), NORM = 'M' or 'm'
!> (
!> ( norm1(A), NORM = '1', 'O' or 'o'
!> (
!> ( normI(A), NORM = 'I' or 'i'
!> (
!> ( normF(A), NORM = 'F', 'f', 'E' or 'e'
where norm1 denotes the one norm of a matrix (maximum column sum), normI denotes the infinity norm of a matrix (maximum row sum), and normF denotes 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 β say it with me, bestie, not consistent π
π Parameters π
NORMisCHARACTER*1β specifies the value to be returned inZLANSPas described above. πUPLOisCHARACTER*1β specifies whether the upper or lower triangular part of the symmetric matrixAis supplied.= 'U':upper triangular part ofAis supplied π= 'L':lower triangular part ofAis supplied π
NisINTEGERβ the order of the matrixA.N >= 0.whenN = 0,ZLANSPis set to zero. no cap π«ΆAPisCOMPLEX*16array, dimension(N*(N+1)/2)β the upper or lower triangle of the symmetric matrixA, packed columnwise in a linear array. thej-th column ofAis stored in the arrayAPas 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.
- if
WORKisDOUBLE PRECISIONarray, dimension(MAX(1,LWORK)), whereLWORK >= NwhenNORM = 'I'or'1'or'O'; otherwise,WORKis not referenced. literally π
π Author π
the author squad is:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
β Definition at line β
Definition at line 114 of file zlansp.f. periodt π
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code. π
and that's the whole page, bestie π signed off with LAPACK Version 3.12.0, page SRC/zlansp.f(3), and all the packed-symmetric-norm energy you could ever need. mwah πβ¨
π¦ 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