SRC/slascl2.f(3)

πŸ’… SRC/slascl2.f β€” a whole manual page, bestie

ok so this is the slascl2.f page from the LAPACK library manual. it's a Fortran thing. it's giving "linear algebra but make it fashion". stay with me 🫢


✨ NAME ✨

SRC/slascl2.f β€” that's the file, that's the name, periodt.


🌸 SYNOPSIS 🌸

Functions/Subroutines

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

πŸŽ€ Function/Subroutine Documentation πŸŽ€

subroutine slascl2 (integer m, integer n, real, dimension( * ) d, real,
    dimension( ldx, * ) x, integer ldx)

SLASCL2 performs diagonal scaling on a matrix. that's the whole vibe, honestly.

πŸ”₯ Purpose:

!>
!> SLASCL2 performs a diagonal scaling on a matrix:
!>   x <-- D * x
!> where the diagonal matrix D is stored as a vector.
!>
!> Eventually to be replaced by BLAS_sge_diag_scale in the new BLAS
!> standard.
!>

so like, x <-- D * x, no cap. the diagonal matrix D is stored as a vector (iconic, efficient, we love a glow-up). and heads up πŸ‘€ β€” this routine is eventually to be replaced by BLAS_sge_diag_scale in the new BLAS standard. so it's on its way out but still main character for now πŸ’€


πŸ¦‹ Parameters πŸ¦‹

  • M β€” okay so M is INTEGER, and it's the number of rows of D and X. the rule: M >= 0. respect the constraint bestie πŸ™ˆ
  • N β€” N is INTEGER too, and it's the number of columns of X. rule: N >= 0 ✨
  • D β€” D is a REAL array of length M. it's the diagonal matrix D, stored as a vector of length M. little vector, big responsibilities πŸ’–
  • X β€” X is a REAL array, dimension (LDX,N). on entry it's the matrix X that you're about to scale by D; on exit it's the scaled matrix. glow-up complete πŸ’…
  • LDX β€” LDX is INTEGER and it's the leading dimension of the matrix X. the rule here is LDX >= M. do not mess with it, fr fr 🫢

πŸ‘‘ Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

the whole squad, honestly. four institutions pulling up together 🌈

Definition at line 89 of file slascl2.f. πŸ“


⭐ Author ⭐

Generated automatically by Doxygen for LAPACK from the source code. not a human, not a vibe checker, just a doc generator doing its thing 🧚


ngl the !> comments in there are Doxygen markup β€” that's why the whole purpose block looks like that. it's not a typo, it's just how the docs get milked out of the source πŸ“

and that's the page!! LAPACK Version 3.12.0, date stamp says SRC/slascl2.f(3) β€” hope this helped, mwah πŸ’œπŸŒΈ

πŸ“¦ where this page comes from