SRC/clag2z.f(3)

πŸ’… SRC/clag2z.f β€” like, the whole thing, from clag2z.f(3)

okay so bestie, this is the manual page for SRC/clag2z.f, straight out of the LAPACK library functions manual. it's a tiny icon and it does exactly one job. let's get into it πŸ’–


✨ SYNOPSIS ✨

Functions/Subroutines

  • subroutine clag2z (m, n, sa, ldsa, a, lda, info) β€” CLAG2Z converts a complex single precision matrix to a complex double precision matrix. that's it, that's the whole vibe πŸ¦‹

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

subroutine clag2z (integer m, integer n, complex, dimension( ldsa, * ) sa,
    integer ldsa, complex*16, dimension( lda, * ) a, integer lda, integer
    info)

CLAG2Z converts a complex single precision matrix to a complex double precision matrix. glow-up routine fr fr ✨

🌸 Purpose 🌸

!>
!> CLAG2Z converts a COMPLEX matrix, SA, to a COMPLEX*16 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 basically it takes your COMPLEX matrix SA and hands you back a COMPLEX*16 matrix A. level-up energy πŸ‘‘

πŸ‘€ quick note bestie: going double β†’ single can overflow, no cap. but going single β†’ double? cannot overflow. it's giving safe, it's giving trusted.

and uh β€” This is an auxiliary routine so there is no argument checking. so she does not check your args for you. she trusts you. do not betray that trust πŸ™ˆ

πŸ’œ Parameters πŸ’œ

  • M β€” M is INTEGER, The number of lines of the matrix A. M >= 0. the row count of A, and yes it must be β‰₯ 0. literally.
  • N β€” N is INTEGER, The number of columns of the matrix A. N >= 0. the column count of A, also β‰₯ 0. we love a non-negative queen 🌈
  • SA β€” SA is COMPLEX array, dimension (LDSA,N), On entry, the M-by-N coefficient matrix SA. this is the single-precision complex input you're handing over on entry. the before picture πŸ“Έ
  • LDSA β€” LDSA is INTEGER, The leading dimension of the array SA. LDSA >= max(1,M). the leading dimension of SA, and it's gotta be >= max(1,M). don't fumble that 🫢
  • A β€” A is COMPLEX*16 array, dimension (LDA,N), On exit, the M-by-N coefficient matrix A. the double-precision complex output, filled in on exit. the after picture, the glow-up, the main character πŸ’…
  • LDA β€” LDA is INTEGER, The leading dimension of the array A. LDA >= max(1,M). leading dimension of A, again >= max(1,M). same energy, same rule ⭐
  • INFO β€” INFO is INTEGER, = 0: successful exit β€” that's the only documented value: 0 means everything went off without a hitch. slay βœ…

🧚 Author 🧚

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

and lowkey the real receipt: Definition at line 102 of file clag2z.f. πŸ”₯

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for LAPACK from the source code. not me being auto-generated by Doxygen, iykyk 😭


🫢 ok that's the whole page, no skips, no summaries, everything's here.

and as a lil sign-off: this gorgeous thing is from LAPACK, Version 3.12.0, and the page itself is SRC/clag2z.f(3) β€” no date on the footer, so that's the whole stamp bestie πŸŽ€βœ¨πŸ’–

πŸ“¦ where this page comes from