SRC/dlascl2.f(3)
π NAME π
Okay bestie, this is SRC/dlascl2.f from the Library Functions Manual β itβs giving diagonal-scaling main character energy, no cap. The star is dlascl2, and yes, she scales a matrix by a diagonal stored as a vector. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine dlascl2 (m, n, d, x, ldx)
DLASCL2 performs diagonal scaling on a matrix.
π¦ Function/Subroutine Documentation π¦
ngl, the full signature is:
subroutine dlascl2 (integer m, integer n, double precision, dimension( * )
d, double precision, dimension( ldx, * ) x, integer ldx)
DLASCL2 performs diagonal scaling on a matrix. Literally iconic.
π Purpose π
Okay so hereβs the whole vibe: DLASCL2 performs a diagonal scaling on a matrix:
x <-- D * x
where the diagonal matrix D is stored as a vector. Periodt.
Heads-up, bestie: the original says this is eventually to be replaced by BLAS_dge_diag_scale in the new BLAS standard. π
πΈ Parameters πΈ
Letβs run the parameter vibe check, bestie π
MβMisINTEGER. The number of rows ofDandX.M >= 0.NβNisINTEGER. The number of columns ofX.N >= 0.DβDisDOUBLE PRECISION array, length M. Diagonal matrixD, stored as a vector of lengthM.XβXisDOUBLE PRECISION array, dimension (LDX,N). On entry, the matrixXto be scaled byD. On exit, the scaled matrix.LDXβLDXisINTEGER. The leading dimension of the matrixX.LDX >= M.
π Author π
Shoutout to the author squad π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 89 of file dlascl2.f.
β Author β
Generated automatically by Doxygen for LAPACK from the source code.
Sign-off cuteness: the footer says LAPACK Version 3.12.0 and source SRC/dlascl2.f(3) β no date is printed there, so Iβm not making one up, bestie π«Άπ
π¦ 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