SRC/dlarscl2.f(3)
π SRC/dlarscl2.f π
okay so bestie, welcome to the Library Functions Manual entry for SRC/dlarscl2.f(3). This one is short, it's LAPACK, and it's giving βreciprocal diagonal scalingβ in the most iconic way. no cap.
πΈ NAME πΈ
SRC/dlarscl2.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine dlarscl2 (m, n, d, x, ldx)βDLARSCL2performs reciprocal diagonal scaling on a matrix. periodt.
π¦ Function/Subroutine Documentation π¦
π subroutine dlarscl2 π
subroutine dlarscl2 (integer m, integer n, double precision, dimension( * ) d, double precision, dimension( ldx, * ) x, integer ldx)
DLARSCL2 performs reciprocal diagonal scaling on a matrix. that's the whole main-character job.
π Purpose π
okay so here's the math vibe:
x <-- inv(D) * x
where the diagonal matrix D is stored as a vector.
heads up bestie: this is eventually to be replaced by BLAS_dge_diag_scale in the new BLAS standard. so enjoy this era of the routine while it's here π
π Parameters π
MβM is INTEGER. The number of rows ofDandX.M >= 0.NβN is INTEGER. The number of columns ofX.N >= 0.DβD is DOUBLE PRECISION array, dimension (M). Diagonal matrixD, stored as a vector of lengthM.XβX is DOUBLE PRECISION array, dimension (LDX,N). On entry, the matrixXto be scaled byD. On exit, the scaled matrix.LDXβLDX is INTEGER. The leading dimension of the matrixX.LDX >= M.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 89 of file dlarscl2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
π that's the whole page, bestie. cute little footer sign-off: LAPACK, Version 3.12.0, SRC/dlarscl2.f(3). go scale reciprocally and slay β¨π«Ά
π¦ 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