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