SRC/zlat2c.f(3)
SRC/zlat2c.f from the Library Functions Manual β okay bestie, this is your page and we're gonna get through it together π
πΈ NAME πΈ
SRC/zlat2c.f β that's the name, bestie. Short, sweet, and literally the whole NAME section. β¨
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine zlat2c (uplo, n, a, lda, sa, ldsa, info)βZLAT2Cconverts a double complex triangular matrix to a complex triangular matrix. That's the vibe check. π
π«Ά Function/Subroutine Documentation π«Ά
Here's the full signature, copied exactly because we do not play with source code, bestie:
subroutine zlat2c (character uplo, integer n, complex*16, dimension( lda, *
) a, integer lda, complex, dimension( ldsa, * ) sa, integer ldsa,
integer info)
Same energy as the synopsis: ZLAT2C converts a double complex triangular matrix to a complex triangular matrix. Iconic behavior. π¦
π Purpose π
Okay so the purpose block is giving main character: ZLAT2C converts a COMPLEX*16 triangular matrix, SA, to a COMPLEX triangular matrix, A. π
RMAX is the overflow for the SINGLE PRECISION arithmetic. ZLAT2C checks that all the entries of A are between -RMAX and RMAX. If not the conversion is aborted and a flag is raised. π©
And this one's important: this is an auxiliary routine so there is no argument checking. No cap, that's literally what it says. π
π Parameters π
UPLOβ isCHARACTER*1.= 'U':Ais upper triangular;= 'L':Ais lower triangular. Pick your triangle, bestie. πNβ isINTEGER. The number of rows and columns of the matrixA.N >= 0. β¨Aβ isCOMPLEX*16array, dimension(LDA,N). On entry, theN-by-Ntriangular coefficient matrixA. π«ΆLDAβ isINTEGER. The leading dimension of the arrayA.LDA >= max(1,N). πΈSAβ isCOMPLEXarray, dimension(LDSA,N). Only theUPLOpart ofSAis referenced. On exit, ifINFO=0, theN-by-Ncoefficient matrixSA; ifINFO>0, the content of theUPLOpart ofSAis unspecified. So don't go reading the wrong triangle, okay? πLDSAβ isINTEGER. The leading dimension of the arraySA.LDSA >= max(1,M). Yes, it says M β we're keeping it exactly as the page says. π«ΆINFOβ isINTEGER.= 0: successful exit.= 1: an entry of the matrixAis greater than theSINGLE PRECISIONoverflow threshold, in this case, the content of theUPLOpart ofSAin exit is unspecified. When it's 1, the SA triangle is giving "unspecified," so do not trust it. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 110 of file zlat2c.f. π
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code. Slay, documentation generator. β¨
That's the whole page, bestie. With love from LAPACK β Version 3.12.0 β and the SRC/zlat2c.f(3) page π
π
π¦ 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