SRC/zlag2c.f(3)
π SRC/zlag2c.f(3) π
okay bestie, welcome to the Library Functions Manual page for SRC/zlag2c.f β¨ this one is short and sweet, but we are still reading every single line because that is the vibe.
β¨ NAME β¨
SRC/zlag2c.f β thatβs the name, bestie. iconic, brief, to the point π
π SYNOPSIS π
Functions/Subroutines
subroutine zlag2c (m, n, a, lda, sa, ldsa, info)β ZLAG2C converts a complex double precision matrix to a complex single precision matrix. π¦
π Function/Subroutine Documentation π
the zlag2c subroutine π«Ά
subroutine zlag2c (integer m, integer n, complex*16, dimension( lda, * ) a,
integer lda, complex, dimension( ldsa, * ) sa, integer ldsa, integer
info)
ZLAG2C converts a complex double precision matrix to a complex single precision matrix. no cap, thatβs the whole assignment π
Purpose πΈ
The Purpose section is sending this exact message:
ZLAG2C converts a COMPLEX*16 matrix, SA, to a COMPLEX matrix, A.
RMAX is the overflow for the SINGLE PRECISION arithmetic. ZLAG2C 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 bestie, it said what it said π«‘
tiny vibe check: the page really writes the Purpose line withSAconverting toA, while the parameter list hasAas theCOMPLEX*16input andSAas theCOMPLEXoutput. Iβm not editing the docs, Iβm just reading them π keep the variable names exactly like the page does.
Parameters π
MβM is INTEGER. The number of lines of the matrixA.M >= 0.NβN is INTEGER. The number of columns of the matrixA.N >= 0.AβA is COMPLEX*16 array, dimension (LDA,N). On entry, the M-by-N coefficient matrixA.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,M).SAβSA is COMPLEX array, dimension (LDSA,N). On exit, ifINFO=0, the M-by-N coefficient matrixSA; ifINFO>0, the content ofSAis unspecified.LDSAβLDSA is INTEGER. The leading dimension of the arraySA.LDSA >= max(1,M).INFOβINFO is INTEGER.= 0: successful exit.= 1: an entry of the matrixAis greater than the SINGLE PRECISION overflow 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 106 of file zlag2c.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code. yes, the page itself is literally telling you it was generated automatically, periodt β
byeee bestie π β this footer is serving LAPACK Version 3.12.0, page SRC/zlag2c.f(3). It didnβt give me a date, so no invented dates, fr fr πΈ
π¦ 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