SRC/dlange.f(3)
πΈ NAME πΈ
SRC/dlange.f β this is the manual page for the DLANGE routine, from the Library Functions Manual. The page title is SRC/dlange.f(3), and we are folding that in right here like a good bestie. π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
double precision function dlange (norm, m, n, a, lda, work)β DLANGE returns the value of the 1-norm, Frobenius norm, infinity-norm, or the largest absolute value of any element of a general rectangular matrix. She ate, no cap.
π¦ Function/Subroutine Documentation π¦
double precision function dlange (character norm, integer m, integer n,
double precision, dimension( lda, * ) a, integer lda, double precision,
dimension( * ) work)
DLANGE returns the value of the 1-norm, Frobenius norm, infinity-norm, or the largest absolute value of any element of a general rectangular matrix. That's the assignment, bestie. π
π Purpose π
okay so DLANGE 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 matrix A. That's it. That's the whole vibe. β¨
π Returns π
The return value is DLANGE, and here's the iconic little mapping:
!>
!> DLANGE = ( 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'
!>
Here's what those mean:
norm1denotes the one norm of a matrix (maximum column sum)normIdenotes the infinity norm of a matrix (maximum row sum)normFdenotes the Frobenius norm of a matrix (square root of sum of squares)
β οΈ okay important: max(abs(A(i,j))) is not a consistent matrix norm. The original says it, I'm saying it, we're all saying it. Don't forget it. π
π Parameters π
NORMβNORMisCHARACTER*1. Specifies the value to be returned inDLANGEas described above. She's got range, literally. π¦MβMisINTEGER. The number of rows of the matrixA.M >= 0. WhenM = 0,DLANGEis set to zero.NβNisINTEGER. The number of columns of the matrixA.N >= 0. WhenN = 0,DLANGEis set to zero.AβAisDOUBLE PRECISION array, dimension (LDA,N). ThembynmatrixA.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(M,1).WORKβWORKisDOUBLE PRECISION array, dimension (MAX(1,LWORK)), whereLWORK >= MwhenNORM = 'I'; otherwise,WORKis not referenced. π«Ά
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 113 of file dlange.f.
π« Author π«
Generated automatically by Doxygen for LAPACK from the source code. Yes, another Author section β the original does that, so we do that. Periodt. π
okay bye bestie! stay hydrated, norm responsibly, and remember this page is SRC/dlange.f(3) from LAPACK Version 3.12.0 β date? the original footer doesn't list one, so I'm not inventing one. π«Άβ¨π
π¦ 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