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 matrixA, andM >= 0. β¨NβN is INTEGER; it's the number of columns of the matrixA, andN >= 0. β¨AβA is DOUBLE PRECISION array, dimension (LDA,N). On entry, it's the M-by-N coefficient matrixA. πLDAβLDA is INTEGER; it's the leading dimension of the arrayA, andLDA >= max(1,M). πSAβSA is REAL array, dimension (LDSA,N). On exit, ifINFO=0, it's the M-by-N coefficient matrixSA; ifINFO>0, the content ofSAis unspecified. πLDSAβLDSA is INTEGER; it's the leading dimension of the arraySA, andLDSA >= max(1,M). πINFOβINFO is INTEGER= 0: successful exit. π= 1: an entry of the matrixAis greater than theSINGLE PRECISIONoverflow threshold; in this case, the content ofSAin 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
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms