lanhe(3)
π lanhe(3) β lan{he,sy}: Hermitian/symmetric matrix π
π NAME π
lanhe β the whole lan{he,sy} squad: Hermitian/symmetric matrix norm functions. π
β¨ SYNOPSIS β¨
πΈ Functions πΈ
real function clanhe (norm, uplo, n, a, lda, work)β CLANHE 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. π«real function clansy (norm, uplo, n, a, lda, work)β CLANSY 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 symmetric matrix. π¦double precision function dlansy (norm, uplo, n, a, lda, work)β DLANSY returns the value of the 1-norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a real symmetric matrix. πreal function slansy (norm, uplo, n, a, lda, work)β SLANSY returns the value of the 1-norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a real symmetric matrix. πΈdouble precision function zlanhe (norm, uplo, n, a, lda, work)β ZLANHE 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. π₯double precision function zlansy (norm, uplo, n, a, lda, work)β ZLANSY 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 symmetric matrix. β
π¦ Detailed Description π¦
okay so this page is the function-by-function breakdown for the lan{he,sy} family. We're doing signatures, purposes, return values, parameters, authors, and source-line receipts. Let's go, bestie. π«Ά
π Function Documentation π
π clanhe β real function π
real function clanhe (character norm, character uplo, integer n, complex,
dimension( lda, * ) a, integer lda, real, dimension( * ) work)
CLANHE 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. That's the whole vibe. π
π― Purpose
CLANHE gives back the one norm, the Frobenius norm, the infinity norm, or the element of largest absolute value of a complex hermitian matrix A. β¨
π Returns
The return value maps like this, literally:
!>
!> CLANHE = ( 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 straight from the source, no cap. π
π§Ύ Parameters
NORMβNORM is CHARACTER*1. Specifies the value to be returned in CLANHE as described above. β¨UPLOβUPLO is CHARACTER*1. Specifies whether the upper or lower triangular part of the hermitian matrix A is to be referenced.= 'U': Upper triangular part of A is referenced= 'L': Lower triangular part of A is referenced
NβN is INTEGER. The order of the matrix A.N >= 0. WhenN = 0, CLANHE is set to zero. πAβA is COMPLEX array, dimension (LDA,N). The hermitian matrix A. IfUPLO = 'U', the leading n by n upper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. IfUPLO = 'L', the leading n by n lower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced. Note that the imaginary parts of the diagonal elements need not be set and are assumed to be zero. π«ΆLDAβLDA is INTEGER. The leading dimension of the array A.LDA >= max(N,1). πWORKβWORK is REAL array, dimension (MAX(1,LWORK)), whereLWORK >= NwhenNORM = '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 123 of file clanhe.f.
π¦ clansy β real function π¦
real function clansy (character norm, character uplo, integer n, complex,
dimension( lda, * ) a, integer lda, real, dimension( * ) work)
CLANSY 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 symmetric matrix. π«
π― Purpose
CLANSY gives back the one norm, the Frobenius norm, the infinity norm, or the element of largest absolute value of a complex symmetric matrix A. β¨
π Returns
The return value maps like this, literally:
!>
!> CLANSY = ( 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 β same warning, same energy. π
π§Ύ Parameters
NORMβNORM is CHARACTER*1. Specifies the value to be returned in CLANSY as described above. β¨UPLOβUPLO is CHARACTER*1. Specifies whether the upper or lower triangular part of the symmetric matrix A is to be referenced.= 'U': Upper triangular part of A is referenced= 'L': Lower triangular part of A is referenced
NβN is INTEGER. The order of the matrix A.N >= 0. WhenN = 0, CLANSY is set to zero. πAβA is COMPLEX array, dimension (LDA,N). The symmetric matrix A. IfUPLO = 'U', the leading n by n upper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. IfUPLO = 'L', the leading n by n lower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced. π«ΆLDAβLDA is INTEGER. The leading dimension of the array A.LDA >= max(N,1). πWORKβWORK is REAL array, dimension (MAX(1,LWORK)), whereLWORK >= NwhenNORM = '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 122 of file clansy.f.
π dlansy β double precision function π
double precision function dlansy (character norm, character uplo, integer n,
double precision, dimension( lda, * ) a, integer lda, double precision,
dimension( * ) work)
DLANSY returns the value of the 1-norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a real symmetric matrix. π
π― Purpose
DLANSY gives back the one norm, the Frobenius norm, the infinity norm, or the element of largest absolute value of a real symmetric matrix A. β¨
π Returns
The return value maps like this, literally:
!>
!> DLANSY = ( 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 β yes, it really said that. π
π§Ύ Parameters
NORMβNORM is CHARACTER*1. Specifies the value to be returned in DLANSY as described above. β¨UPLOβUPLO is CHARACTER*1. Specifies whether the upper or lower triangular part of the symmetric matrix A is to be referenced.= 'U': Upper triangular part of A is referenced= 'L': Lower triangular part of A is referenced
NβN is INTEGER. The order of the matrix A.N >= 0. WhenN = 0, DLANSY is set to zero. πAβA is DOUBLE PRECISION array, dimension (LDA,N). The symmetric matrix A. IfUPLO = 'U', the leading n by n upper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. IfUPLO = 'L', the leading n by n lower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced. π«ΆLDAβLDA is INTEGER. The leading dimension of the array A.LDA >= max(N,1). πWORKβWORK is DOUBLE PRECISION array, dimension (MAX(1,LWORK)), whereLWORK >= NwhenNORM = '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 121 of file dlansy.f.
π«Ά real function slansy (...)
real function slansy (character norm, character uplo, integer n, real,
dimension( lda, * ) a, integer lda, real, dimension( * ) work)
Okay so SLANSY is the vibe-check function for a real symmetric matrix β it hands you back the 1-norm, or the Frobenius norm, or the infinity norm, or just the single largest absolute value chillin' in the matrix. Pick your fighter π
β¨ Purpose
!>
!> SLANSY returns the value of the one norm, or the Frobenius norm, or
!> the infinity norm, or the element of largest absolute value of a
!> real symmetric matrix A.
!>
π Returns
!>
!> SLANSY = ( 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.
!>
Real talk: norm1 = max column sum, normI = max row sum, normF = β(sum of squares). And heads up bestie β max(abs(A(i,j))) is not a consistent matrix norm, so don't go around treating it like one π
πΈ Parameters
NORMβNORM is CHARACTER*1, and it says which valueSLANSYshould return, exactly as described above. You're literally choosing your own adventure here.
!> NORM is CHARACTER*1
!> Specifies the value to be returned in SLANSY as described
!> above.
!>
UPLOβUPLO is CHARACTER*1. Tells the routine which triangle of the symmetric matrixAto actually look at.= 'U': Upper triangular part of A is referenced= 'L': Lower triangular part of A is referenced
!> UPLO is CHARACTER*1
!> Specifies whether the upper or lower triangular part of the
!> symmetric matrix A is to be referenced.
!> = 'U': Upper triangular part of A is referenced
!> = 'L': Lower triangular part of A is referenced
!>
NβN is INTEGER, the order of the matrixA.N >= 0. And whenN = 0,SLANSYis set to zero. No matrix, no problem π
!> N is INTEGER
!> The order of the matrix A. N >= 0. When N = 0, SLANSY is
!> set to zero.
!>
AβA is REAL array, dimension (LDA,N). It's the symmetric matrix itself. IfUPLO = 'U', the leadingnbynupper triangular part ofAholds the upper triangular part of the matrix, and the strictly lower triangular part is justβ¦ not referenced, ignored, uninvited π. IfUPLO = 'L', the leadingnbynlower triangular part holds the lower triangular part, and the strictly upper triangular part is not referenced.
!> A is REAL array, dimension (LDA,N)
!> The symmetric matrix A. If UPLO = 'U', the leading n by n
!> upper triangular part of A contains the upper triangular part
!> of the matrix A, and the strictly lower triangular part of A
!> is not referenced. If UPLO = 'L', the leading n by n lower
!> triangular part of A contains the lower triangular part of
!> the matrix A, and the strictly upper triangular part of A is
!> not referenced.
!>
LDAβLDA is INTEGER, the leading dimension of the arrayA. Constraint:LDA >= max(N,1). Respect the leading dimension, it's the main character of array indexing π
!> LDA is INTEGER
!> The leading dimension of the array A. LDA >= max(N,1).
!>
WORKβWORK is REAL array, dimension (MAX(1,LWORK)), whereLWORK >= NwhenNORM = 'I'or'1'or'O'; otherwise,WORKis not referenced. So it's only pulling up to the function when it's actually needed π«Ά
!> 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 121 of file slansy.f.
π¦ double precision function zlanhe (...)
double precision function zlanhe (character norm, character uplo, integer n,
complex*16, dimension( lda, * ) a, integer lda, double precision,
dimension( * ) work)
Now this one's ZLANHE and it's the same whole situation but for a complex Hermitian matrix β¨ Same four norm options, same energy.
π Purpose
!>
!> ZLANHE 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.
!>
π Returns
!>
!> ZLANHE = ( 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.
!>
Same deal, same caveat β max(abs(A(i,j))) is not a consistent matrix norm, bestie, we been knew π₯
πΈ Parameters
NORMβNORM is CHARACTER*1, specifies the value to be returned inZLANHEas described above.
!> NORM is CHARACTER*1
!> Specifies the value to be returned in ZLANHE as described
!> above.
!>
UPLOβUPLO is CHARACTER*1, says whether the upper or lower triangular part of the hermitian matrixAgets referenced.= 'U': Upper triangular part of A is referenced= 'L': Lower triangular part of A is referenced
!> UPLO is CHARACTER*1
!> Specifies whether the upper or lower triangular part of the
!> hermitian matrix A is to be referenced.
!> = 'U': Upper triangular part of A is referenced
!> = 'L': Lower triangular part of A is referenced
!>
NβN is INTEGER, the order of the matrixA.N >= 0. WhenN = 0,ZLANHEis set to zero.
!> N is INTEGER
!> The order of the matrix A. N >= 0. When N = 0, ZLANHE is
!> set to zero.
!>
AβA is COMPLEX*16 array, dimension (LDA,N). The hermitian matrix. IfUPLO = 'U', the leadingnbynupper triangular part ofAcontains the upper triangular part of the matrix, and the strictly lower triangular part is not referenced. IfUPLO = 'L', the leadingnbynlower triangular part contains the lower triangular part, and the strictly upper triangular part is not referenced. Note that the imaginary parts of the diagonal elements need not be set and are assumed to be zero β so don't stress about them, they're literally assumed to be zero π«Ά
!> A is COMPLEX*16 array, dimension (LDA,N)
!> The hermitian matrix A. If UPLO = 'U', the leading n by n
!> upper triangular part of A contains the upper triangular part
!> of the matrix A, and the strictly lower triangular part of A
!> is not referenced. If UPLO = 'L', the leading n by n lower
!> triangular part of A contains the lower triangular part of
!> the matrix A, and the strictly upper triangular part of A is
!> not referenced. Note that the imaginary parts of the diagonal
!> elements need not be set and are assumed to be zero.
!>
LDAβLDA is INTEGER, the leading dimension of the arrayA.LDA >= max(N,1).
!> LDA is INTEGER
!> The leading dimension of the array A. LDA >= max(N,1).
!>
WORKβWORK is DOUBLE PRECISION array, dimension (MAX(1,LWORK)), whereLWORK >= NwhenNORM = 'I'or'1'or'O'; otherwise,WORKis not referenced.
!> WORK is DOUBLE PRECISION 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 123 of file zlanhe.f.
π double precision function zlansy (...)
double precision function zlansy (character norm, character uplo, integer n,
complex*16, dimension( lda, * ) a, integer lda, double precision,
dimension( * ) work)
And last but absolutely not least: ZLANSY β norms for a complex symmetric matrix. Note: symmetric, not hermitian. Different queen, different rules π
β Purpose
!>
!> ZLANSY 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.
!>
π Returns
!>
!> ZLANSY = ( 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.
!>
Once again for the people in the back: that max-abs thing? Not a consistent matrix norm. Periodt π€
πΈ Parameters
NORMβNORM is CHARACTER*1, specifies the value to be returned inZLANSYas described above.
!> NORM is CHARACTER*1
!> Specifies the value to be returned in ZLANSY as described
!> above.
!>
UPLOβUPLO is CHARACTER*1, specifies whether the upper or lower triangular part of the symmetric matrixAis to be referenced.= 'U': Upper triangular part of A is referenced= 'L': Lower triangular part of A is referenced
!> UPLO is CHARACTER*1
!> Specifies whether the upper or lower triangular part of the
!> symmetric matrix A is to be referenced.
!> = 'U': Upper triangular part of A is referenced
!> = 'L': Lower triangular part of A is referenced
!>
NβN is INTEGER, the order of the matrixA.N >= 0. WhenN = 0,ZLANSYis set to zero.
!> N is INTEGER
!> The order of the matrix A. N >= 0. When N = 0, ZLANSY is
!> set to zero.
!>
AβA is COMPLEX*16 array, dimension (LDA,N). The symmetric matrix. IfUPLO = 'U', the leadingnbynupper triangular part ofAcontains the upper triangular part of the matrix, and the strictly lower triangular part is not referenced. IfUPLO = 'L', the leadingnbynlower triangular part contains the lower triangular part, and the strictly upper triangular part is not referenced. (No imaginary-diagonal note here β that's a hermitian thing, not this one π)
!> A is COMPLEX*16 array, dimension (LDA,N)
!> The symmetric matrix A. If UPLO = 'U', the leading n by n
!> upper triangular part of A contains the upper triangular part
!> of the matrix A, and the strictly lower triangular part of A
!> is not referenced. If UPLO = 'L', the leading n by n lower
!> triangular part of A contains the lower triangular part of
!> the matrix A, and the strictly upper triangular part of A is
!> not referenced.
!>
LDAβLDA is INTEGER, the leading dimension of the arrayA.LDA >= max(N,1).
!> LDA is INTEGER
!> The leading dimension of the array A. LDA >= max(N,1).
!>
WORKβWORK is DOUBLE PRECISION array, dimension (MAX(1,LWORK)), whereLWORK >= NwhenNORM = 'I'or'1'or'O'; otherwise,WORKis not referenced.
!> WORK is DOUBLE PRECISION 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 122 of file zlansy.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
ngl bestie, a robot wrote this whole page for us β Doxygen generated it straight from the LAPACK source code, so if something's off, blame the source, not me π
And that's a wrap on lanhe(3)! This absolute icon of a page is from LAPACK, Version 3.12.0 β go forth and norm your matrices responsibly πΈπ
β¨
π¦ 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