SRC/dlag2s.f(3)

okay bestie, welcome to SRC/dlag2s.f(3) β€” this is a Library Functions Manual page, and it's giving tiny LAPACK helper doing a double-to-single precision glow-down. πŸ’…βœ¨

🌸 NAME 🌸

SRC/dlag2s.f

✨ SYNOPSIS ✨

πŸŽ€ Functions/Subroutines πŸŽ€

subroutine dlag2s (m, n, a, lda, sa, ldsa, info)

DLAG2S converts a double precision matrix to a single precision matrix. πŸ’–

🌟 Function/Subroutine Documentation 🌟

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

DLAG2S converts a double precision matrix to a single precision matrix. πŸ¦‹

πŸ’– Purpose πŸ’–

Okay so DLAG2S converts a DOUBLE PRECISION matrix, A, into a SINGLE PRECISION matrix, SA. πŸ’«

RMAX is the overflow for the SINGLE PRECISION arithmetic, and DLAG2S checks that all the entries of A are between -RMAX and RMAX. If they're not, the conversion is aborted and a flag is raised. 🚩

This is an auxiliary routine, so there is no argument checking. iykyk. πŸ™ˆ

🌈 Parameters 🌈

  • M β€” M is INTEGER; it's the number of lines of the matrix A, and M >= 0. ✨
  • N β€” N is INTEGER; it's the number of columns of the matrix A, and N >= 0. ✨
  • A β€” A is DOUBLE PRECISION array, dimension (LDA,N). On entry, it's the M-by-N coefficient matrix A. πŸ’–
  • LDA β€” LDA is INTEGER; it's the leading dimension of the array A, and LDA >= max(1,M). πŸŽ€
  • SA β€” SA is REAL array, dimension (LDSA,N). On exit, if INFO=0, it's the M-by-N coefficient matrix SA; if INFO>0, the content of SA is unspecified. 😭
  • LDSA β€” LDSA is INTEGER; it's the leading dimension of the array SA, and LDSA >= max(1,M). πŸŽ€
  • INFO β€” INFO is INTEGER
    • = 0: successful exit. πŸŽ‰
    • = 1: an entry of the matrix A is greater than the SINGLE PRECISION overflow threshold; in this case, the content of SA in exit is unspecified. πŸ’€

πŸ‘‘ Author πŸ‘‘

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

Definition at line 107 of file dlag2s.f. πŸ“

πŸ¦‹ Author πŸ¦‹

Generated automatically by Doxygen for LAPACK from the source code. πŸ€–


okay that's the whole page, bestie. from LAPACK Version 3.12.0, page SRC/dlag2s.f(3). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from