DLAG2S(3)
π¦ 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 PRECISIONmatrix,A, to aSINGLE PRECISIONmatrix,SA. RMAXis the overflow for theSINGLE PRECISIONarithmetic. DLAG2S checks that all the entries ofAare between-RMAXandRMAX. 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βMisINTEGER. The number of lines of the matrixA.M >= 0.NβNisINTEGER. The number of columns of the matrixA.N >= 0.AβAisDOUBLE PRECISIONarray, dimension(LDA,N). On entry, theM-by-Ncoefficient matrixA.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,M).SAβSAisREALarray, dimension(LDSA,N). On exit, ifINFO=0, theM-by-Ncoefficient matrixSA; ifINFO>0, the content ofSAis unspecified π (she didn't finish, don't look at her).LDSAβLDSAisINTEGER. The leading dimension of the arraySA.LDSA >= max(1,M).INFOβINFOisINTEGER.= 0: successful exit π= 1: an entry of the matrixAis greater than theSINGLE PRECISIONoverflow threshold β in this case, the content ofSAon 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 = 1is the one to watch β if any entry ofAblows past the single precision overflow threshold, the conversion stops andSAis 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
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms