SRC/zlarscl2.f(3)
π SRC/zlarscl2.f(3) π
okay bestie, this is the Library Functions Manual page for SRC/zlarscl2.f, and it's giving βsmall but iconic routineβ energy π
β¨. Let's unpack it together.
πΈ NAME πΈ
The name is literally SRC/zlarscl2.f β that's it, that's the whole name, no cap π«Ά.
π SYNOPSIS π
π§ Functions/Subroutines π§
subroutine zlarscl2 (m, n, d, x, ldx)
ZLARSCL2 performs reciprocal diagonal scaling on a matrix.
Bestie, that's the vibe check: ZLARSCL2 performs reciprocal diagonal scaling on a matrix. π₯
β¨ Function/Subroutine Documentation β¨
Here's the full signature, character-for-character, because we do not play with declarations π:
subroutine zlarscl2 (integer m, integer n, double precision, dimension( * )
d, complex*16, dimension( ldx, * ) x, integer ldx)
And yes: ZLARSCL2 performs reciprocal diagonal scaling on a matrix. π
π Purpose π
okay so the whole point is reciprocal diagonal scaling on a matrix:
x <-- inv(D) * x
where the DOUBLE PRECISION diagonal matrix D is stored as a vector. β¨
Eventually to be replaced by BLAS_zge_diag_scale in the new BLAS standard. π
π Parameters π
π M π
M is INTEGER
The number of rows of D and X. M >= 0. π«Ά
π N π
N is INTEGER
The number of columns of X. N >= 0. π«Ά
π D π
D is DOUBLE PRECISION array, length M
Diagonal matrix D, stored as a vector of length M. π
π X π
X is COMPLEX*16 array, dimension (LDX,N)
On entry, the matrix X to be scaled by D.
On exit, the scaled matrix. π
π LDX π
LDX is INTEGER
The leading dimension of the matrix X. LDX >= M. π
π«Ά Author π«Ά
Shoutout to the authors, fr fr:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 90 of file zlarscl2.f.
π€ Author π€
This page was Generated automatically by Doxygen for LAPACK from the source code. π§
xoxo, stay slay π This was LAPACK Version 3.12.0 Β· SRC/zlarscl2.f(3) π
π¦ 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