DLAG2S(3)

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

πŸ¦‹ DLAG2S(3) β€” the glow-up from double to single, bestie πŸŽ€

okay so real talk, this page lives in the LAPACK manual (Library Functions Manual), and it's all about /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlag2s.f πŸ’– β€” like, that's literally the file, no cap.


✨ NAME ✨

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlag2s.f β€” yes that's the whole name, she's extra, she's iconic, we respect it πŸ‘‘


🌸 SYNOPSIS 🌸

Functions/Subroutines

  • subroutine DLAG2S (m, n, a, lda, sa, ldsa, info) β€” DLAG2S converts a double precision matrix to a single precision matrix. that's it, that's the whole vibe πŸ’…

πŸ’œ 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. slay ✨

🧚 Purpose

  • DLAG2S converts a DOUBLE PRECISION matrix, A, to a SINGLE PRECISION matrix, SA.
  • RMAX is the overflow for the SINGLE PRECISION arithmetic. DLAG2S checks that all the entries of A are between -RMAX and RMAX. If not, the conversion is aborted and a flag is raised 🚩
  • This is an auxiliary routine so there is no argument checking πŸ™ˆ (yes, she trusts you, don't make it weird)

πŸŽ€ Parameters

  • M β€” M is INTEGER. The number of lines of the matrix A. M >= 0.
  • N β€” N is INTEGER. The number of columns of the matrix A. N >= 0.
  • A β€” A is DOUBLE PRECISION array, dimension (LDA,N). On entry, the M-by-N coefficient matrix A.
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= max(1,M).
  • SA β€” SA is REAL array, dimension (LDSA,N). On exit, if INFO=0, the M-by-N coefficient matrix SA; if INFO>0, the content of SA is unspecified 😭 (she didn't finish, don't look at her).
  • LDSA β€” LDSA is INTEGER. The leading dimension of the array SA. 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 on exit is unspecified πŸ’€

πŸ‘‘ Author

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

the whole squad showed up, we love a collab 🫢

⭐ Definition

Definition at line 107 of file dlag2s.f.


🌈 Author 🌈

Generated automatically by Doxygen for LAPACK from the source code. (not me writing this by hand, the robots did it, iykyk πŸ€–)


heads up bestie: INFO = 1 is the one to watch β€” if any entry of A blows past the single precision overflow threshold, the conversion stops and SA is left unspecified. no silent bad data, but also no data, so check that flag fr fr πŸ”₯

LAPACK Β· Version 3.12.0 Β· /home/abui...RC/dlag2s.f(3) β€” mwah, catch you in the next page πŸ’‹πŸ¦‹πŸ“

πŸ“¦ where this page comes from