/home/abui.../zlascl2.f(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’… /home/abui.../zlascl2.f(3) β€” Library Functions Manual (LAPACK girlies edition)

okay so bestie, this is a page from the LAPACK manual β€” like, the Library Functions Manual proper β€” and today's main character is zlascl2.f. it lives at this whole entire path:

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zlascl2.f

no cap, that's the name of the page. slay. ✨


🌸 SYNOPSIS 🌸

Functions/Subroutines

  • subroutine ZLASCL2 (m, n, d, x, ldx) β€” ZLASCL2 performs diagonal scaling on a matrix.

πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

subroutine ZLASCL2 (integer m, integer n, double precision, dimension( * ) d, complex*16, dimension( ldx, * ) x, integer ldx)

ZLASCL2 performs diagonal scaling on a matrix. that's the whole vibe, honestly. πŸ’œ

πŸŽ€ Purpose:

!>
!> ZLASCL2 performs a diagonal scaling on a matrix:
!>   x <-- 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.
!>

so like, it takes your matrix x and multiplies it by a diagonal matrix D on the left β€” x <-- D * x, iconic behavior β€” and the diagonal matrix D is stored as a vector, which is honestly so practical of it. 🫢

also it's got a little note about its future: eventually this is gonna be replaced by BLAS_zge_diag_scale in the new BLAS standard. so, like, it's not going anywhere yet, but the glow-up is pending. πŸ’…

⭐ 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. the little diagonal icon of vectors, we stan. ✨
  • X β€” X is COMPLEX*16 array, dimension (LDX,N). On entry, the matrix X to be scaled by D. On exit, the scaled matrix. so it comes in unscaled and leaves fully main character energy. πŸ”₯
  • 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.

(tag yourself, i'm Berkeley 😭)

Definition at line 90 of file zlascl2.f.


🌈 Author (yes, again, don't @ me)

Generated automatically by Doxygen for LAPACK from the source code. it didn't even write itself, the tooling did it, we love an automated icon. πŸ€–πŸ’–


LAPACK β€” Version 3.12.0 β€” and that's the whole page, bestie, from /home/abui.../zlascl2.f(3) to the very end. go scale some matrices, you're gonna ate. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from