SRC/dlaqge.f(3)
π NAME π
Okay so this is the SRC/dlaqge.f(3) page from the Library Functions Manual, bestie β itβs all about the dlaqge routine and itβs lowkey iconic. No cap, this is the Fortran source page for that subroutine. π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine dlaqge (m, n, a, lda, r, c, rowcnd, colcnd, amax, equed)β DLAQGE scales a general rectangular matrix, using row and column scaling factors computed bysgeequ.
π§ Function/Subroutine Documentation π§
π¦ subroutine dlaqge
subroutine dlaqge (integer m, integer n, double precision, dimension( lda, * ) a, integer lda, double precision, dimension( * ) r, double precision, dimension( * ) c, double precision rowcnd, double precision colcnd, double precision amax, character equed)
DLAQGE scales a general rectangular matrix, using row and column scaling factors computed by sgeequ.
πΈ Purpose πΈ
Okay so the purpose is literally this: DLAQGE equilibrates a general M by N matrix A using the row and column scaling factors in the vectors R and C. Periodt.
π Parameters π
MβMisINTEGER; itβs the number of rows of the matrixA.M >= 0.NβNisINTEGER; itβs the number of columns of the matrixA.N >= 0.AβAisDOUBLE PRECISIONarray, dimension(LDA,N). On entry, itβs theMbyNmatrixA. On exit, itβs the equilibrated matrix. SeeEQUEDfor the form of the equilibrated matrix. β¨LDAβLDAisINTEGER; itβs the leading dimension of the arrayA.LDA >= max(M,1).RβRisDOUBLE PRECISIONarray, dimension(M); these are the row scale factors forA.CβCisDOUBLE PRECISIONarray, dimension(N); these are the column scale factors forA.ROWCNDβROWCNDisDOUBLE PRECISION; ratio of the smallestR(i)to the largestR(i).COLCNDβCOLCNDisDOUBLE PRECISION; ratio of the smallestC(i)to the largestC(i).AMAXβAMAXisDOUBLE PRECISION; absolute value of largest matrix entry.EQUEDβEQUEDisCHARACTER*1; specifies the form of equilibration that was done.= 'N': No equilibration= 'R': Row equilibration, i.e.,Ahas been premultiplied bydiag(R).= 'C': Column equilibration, i.e.,Ahas been postmultiplied bydiag(C).= 'B': Both row and column equilibration, i.e.,Ahas been replaced bydiag(R) * A * diag(C).
π₯ Internal Parameters π₯
THRESHβ threshold value used to decide if row or column scaling should be done based on the ratio of the row or column scaling factors. IfROWCND < THRESH, row scaling is done, and ifCOLCND < THRESH, column scaling is done.LARGEandSMALLβ threshold values used to decide if row scaling should be done based on the absolute size of the largest matrix element. IfAMAX > LARGEorAMAX < SMALL, row scaling is done.
π«Ά Author π«Ά
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 140 of file dlaqge.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Byeee bestie π
β this page is from LAPACK Version 3.12.0, source file SRC/dlaqge.f(3). The footer doesnβt show a separate date, so Iβm not inventing one, fr fr. πβ¨
π¦ 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