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) β€” DLARSCL2 performs 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 of D and X. M >= 0.
  • N β€” N is INTEGER. The number of columns of X. N >= 0.
  • D β€” D is DOUBLE PRECISION array, dimension (M). Diagonal matrix D, stored as a vector of length M.
  • X β€” X is DOUBLE PRECISION 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 πŸ‘‘

  • 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