SRC/slaqge.f(3)
β¨ NAME β¨
SRC/slaqge.f β ok bestie, this page is from the Library Functions Manual, and itβs all about the slaqge Fortran subroutine. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine slaqge (m, n, a, lda, r, c, rowcnd, colcnd, amax, equed)
SLAQGE scales a general rectangular matrix, using row and column scaling factors computed by sgeequ. slay. β¨
πΈ Function/Subroutine Documentation πΈ
subroutine slaqge (integer m, integer n, real, dimension( lda, * ) a,
integer lda, real, dimension( * ) r, real, dimension( * ) c, real
rowcnd, real colcnd, real amax, character equed)
SLAQGE scales a general rectangular matrix, using row and column scaling factors computed by sgeequ.
π Purpose π
SLAQGE equilibrates a general M by N matrix A using the row and column scaling factors in the vectors R and C. No cap, thatβs the whole point. π
π Parameters π
MβM is INTEGER; the number of rows of the matrixA.M >= 0.NβN is INTEGER; the number of columns of the matrixA.N >= 0.AβA is REAL array, dimension (LDA,N). On entry, theMbyNmatrixA. On exit, the equilibrated matrix. SeeEQUEDfor the form of the equilibrated matrix. π¦LDAβLDA is INTEGER; the leading dimension of the arrayA.LDA >= max(M,1).RβR is REAL array, dimension (M); the row scale factors forA.CβC is REAL array, dimension (N); the column scale factors forA.ROWCNDβROWCND is REAL; ratio of the smallestR(i)to the largestR(i).COLCNDβCOLCND is REAL; ratio of the smallestC(i)to the largestC(i).AMAXβAMAX is REAL; absolute value of largest matrix entry.EQUEDβEQUED is CHARACTER*1; specifies the form of equilibration that was done:= 'N': No equilibration= 'R': Row equilibration, i.e., A has been premultiplied by diag(R).= 'C': Column equilibration, i.e., A has been postmultiplied by diag(C).= 'B': Both row and column equilibration, i.e., A has been replaced by diag(R) * A * diag(C).
π§ Internal Parameters π§
THRESHis a 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.LARGEandSMALLare 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 slaqge.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the page bestie π β itβs LAPACK Version 3.12.0, source SRC/slaqge.f(3). go off, matrix-equilibration icon. β¨π
π¦ 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