CLANTP(3)
π CLANTP(3) β LAPACK Library Functions Manual
π NAME
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/clantp.f β bestie, the NAME section is literally just this path. No cap, itβs giving βpath is the whole personality.β π
β¨ SYNOPSIS
π¦ Functions/Subroutines
real function CLANTP (norm, uplo, diag, n, ap, work)
CLANTP returns the value of the 1-norm, or the Frobenius norm, or
the infinity norm, or the element of largest absolute value of a
triangular matrix supplied in packed form.
π«Ά Function/Subroutine Documentation
Okay so hereβs the actual signature, and yes, every type and argument is important:
real function CLANTP (character norm, character uplo, character diag,
integer n, complex, dimension( * ) ap, real, dimension( * ) work)
CLANTP returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a triangular matrix A, supplied in packed form. Periodt. π
π― Purpose:
Literally the whole point: CLANTP returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a triangular matrix A, supplied in packed form. Thatβs the vibe, thatβs the job. β¨
π Returns
CLANTP hands back one of these, depending on NORM:
!>
!> CLANTP = ( 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. Thatβs a real caveat, bestie β donβt @ me.
π Parameters
NORMβCHARACTER*1. Specifies the value to be returned inCLANTPas described above.UPLOβCHARACTER*1. Specifies whether the matrix A is upper or lower triangular:= 'U': Upper triangular;= 'L': Lower triangular.DIAGβCHARACTER*1. Specifies whether or not the matrix A is unit triangular:= 'N': Non-unit triangular;= 'U': Unit triangular.NβINTEGER. The order of the matrix A.N >= 0. WhenN = 0,CLANTPis set to zero.APβCOMPLEX array, dimension (N*(N+1)/2). The upper or lower triangular matrix A, packed columnwise in a linear array. The j-th column of A is stored in the arrayAPas follows: ifUPLO = 'U',AP(i + (j-1)*j/2) = A(i,j)for1<=i<=j; ifUPLO = 'L',AP(i + (j-1)*(2n-j)/2) = A(i,j)forj<=i<=n. Note that whenDIAG = 'U', the elements of the arrayAPcorresponding to the diagonal elements of the matrix A are not referenced, but are assumed to be one.WORKβREAL array, dimension (MAX(1,LWORK)), whereLWORK >= NwhenNORM = 'I'; otherwise,WORKis not referenced.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 124 of file clantp.f.
πͺ Author
Generated automatically by Doxygen for LAPACK from the source code. Iconic, honestly. π«Ά
β LAPACK Version 3.12.0 β’ source /home/abui...RC/clantp.f(3) β’ date: not listed in this footer, 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