SRC/clange.f(3)
π SRC/clange.f(3) π
Okay bestie, this one is straight out of the LAPACK Library Functions Manual, and itβs giving βtiny file, big norm energy.β Weβre talking about SRC/clange.f, the home of CLANGE. π«Ά
πΈ NAME πΈ
SRC/clange.f β thatβs the file, periodt.
β¨ SYNOPSIS β¨
π« Functions/Subroutines π«
real function clange (norm, m, n, a, lda, work)β CLANGE returns the value of the 1-norm, Frobenius norm, infinity-norm, or the largest absolute value of any element of a general rectangular matrix.
π¦ Function/Subroutine Documentation π¦
π real function clange (character norm, integer m, integer n, complex, dimension( lda, * ) a, integer lda, real, dimension( * ) work) π
πΈ Purpose πΈ
CLANGE 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 matrix A. Thatβs the whole assignment, and it ate. π
π Returns π
CLANGE is one of these, depending on NORM:
!>
!> CLANGE = ( 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.
!>
Lowkey important: max(abs(A(i,j))) is not a consistent matrix norm. The manpage said it, so weβre saying it. π«‘
π Parameters π
NORMβNORM is CHARACTER*1. Specifies the value to be returned inCLANGEas described above.MβM is INTEGER. The number of rows of the matrixA.M >= 0. WhenM = 0,CLANGEis set to zero.NβN is INTEGER. The number of columns of the matrixA.N >= 0. WhenN = 0,CLANGEis set to zero.AβA is COMPLEX array, dimension (LDA,N). ThembynmatrixA.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(M,1).WORKβWORK is REAL array, dimension (MAX(1,LWORK)), where LWORK >= M when NORM = 'I'; otherwise, WORK is not referenced.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 114 of file clange.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Thatβs the whole vibe: LAPACK, Version 3.12.0, SRC/clange.f(3) β norm queen, signing off. πβ¨
π¦ 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