SLAG2D(3)

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

πŸ’… NAME πŸ’…

okay so bestie, the manual name is literally this path, no cap:

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

(and yeah the page header at the top is the abbreviated vibe, /home/abui...RC/slag2d.f(3) β€” that's just the same file being ✨shy✨ about its full path)


🌸 SYNOPSIS 🌸

Functions/Subroutines

  • subroutine SLAG2D (m, n, sa, ldsa, a, lda, info) β€” SLAG2D converts a single precision matrix to a double precision matrix. that's the whole assignment, and she ate πŸ’…

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

subroutine SLAG2D (integer m, integer n, real, dimension( ldsa, * ) sa,
    integer ldsa, double precision, dimension( lda, * ) a, integer lda,
    integer info)

SLAG2D converts a single precision matrix to a double precision matrix. iconic behavior honestly πŸ’–

πŸŽ€ Purpose:

!>
!> SLAG2D converts a SINGLE PRECISION matrix, SA, to a DOUBLE
!> PRECISION matrix, A.
!>
!> Note that while it is possible to overflow while converting
!> from double to single, it is not possible to overflow when
!> converting from single to double.
!>
!> This is an auxiliary routine so there is no argument checking.
!>

so like, the glow-up goes one direction only: double β†’ single can overflow (😭 scary), but single β†’ double is safe, not me checking the overflow risk and finding none ✨

and heads up bestie β€” this is an auxiliary routine so there is no argument checking. she trusts you. she does not verify. 🫢

🌈 Parameters

  • M β€” M is INTEGER, the number of lines of the matrix A. M >= 0. (the height, the vertical situation πŸ’…)
  • N β€” N is INTEGER, the number of columns of the matrix A. N >= 0. (the width, the horizontal situation πŸŽ€)
  • SA β€” SA is REAL array, dimension (LDSA,N). On entry, the M-by-N coefficient matrix SA. this is the input, the before picture πŸ¦‹
  • LDSA β€” LDSA is INTEGER, the leading dimension of the array SA. LDSA >= max(1,M). (yes, the max(1,M) is real, respect it πŸ’€)
  • A β€” A is DOUBLE PRECISION array, dimension (LDA,N). On exit, the M-by-N coefficient matrix A. the after picture, the glow-up itself πŸ‘‘
  • LDA β€” LDA is INTEGER, the leading dimension of the array A. LDA >= max(1,M). same energy, different array πŸ’œ
  • INFO β€” INFO is INTEGER, and the only documented value is = 0: successful exit. that's it, she's chill, she just tells you it went fine 🌸

⭐ Author

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

🧚 Definition at line 103 of file slag2d.f.


πŸ‘‘ Author

Generated automatically by Doxygen for LAPACK from the source code. (the robot did the writing, we just gave it the ✨lewk✨)


fr fr if you made it this far, the whole conversion is: single in, double out, no overflow panic, no argument checks, INFO = 0 on success and you're literally done. slay πŸŽ€

self care check bestie: this page is from LAPACK, Version 3.12.0, and the footer stamp is /home/abui...RC/slag2d.f(3) β€” so that's the source, the version 3.12.0, and the dated page marker all wrapped up in one cute little sign-off. mwah πŸ’–

πŸ“¦ where this page comes from