_lat2_(3)
π NAME
hey bestie, welcome to _lat2_(3) from the Library Functions Manual β this is lat2: triangular matrix, convert double <=> single. periodt. π
πΈ SYNOPSIS
π Functions
subroutine dlat2s (uplo, n, a, lda, sa, ldsa, info)βDLAT2Sconverts a double-precision triangular matrix to a single-precision triangular matrix.subroutine zlat2c (uplo, n, a, lda, sa, ldsa, info)βZLAT2Cconverts a double complex triangular matrix to a complex triangular matrix.
lowkey auxiliary energy: both routines are auxiliary, so no argument checking β the docs said it, not me. π
π DETAILED DESCRIPTION
okay so this page has the full function tea below. It's giving βtwo triangular-matrix conversion besties, one double β single, one complex*16 β complex.β π
β¨
π¦ FUNCTION DOCUMENTATION
β¨ subroutine dlat2s
subroutine dlat2s (character uplo, integer n, double precision, dimension( lda, * ) a, integer lda, real, dimension( ldsa, * ) sa, integer ldsa, integer info)
DLAT2S converts a double-precision triangular matrix to a single-precision triangular matrix. slay.
π― Purpose
DLAT2S converts a DOUBLE PRECISION triangular matrix, SA, to a SINGLE PRECISION triangular matrix, A.
RMAX is the overflow for the SINGLE PRECISION arithmetic, and DLAS2S 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.
π Parameters
UPLOβUPLOisCHARACTER*1.= 'U':A is upper triangular;= 'L':A is lower triangular.NβNisINTEGER. The number of rows and columns of the matrixA.N >= 0.AβAisDOUBLE PRECISIONarray, dimension(LDA,N). On entry, theN-by-Ntriangular coefficient matrixA.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).SAβSAisREALarray, dimension(LDSA,N). Only theUPLOpart ofSAis referenced. On exit, ifINFO=0, theN-by-Ncoefficient matrixSA; ifINFO>0, the content of theUPLOpart ofSAis unspecified.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 of theUPLOpart ofSAin exit is unspecified.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 110 of file dlat2s.f.
β¨ subroutine zlat2c
subroutine zlat2c (character uplo, integer n, complex*16, dimension( lda, * ) a, integer lda, complex, dimension( ldsa, * ) sa, integer ldsa, integer info)
ZLAT2C converts a double complex triangular matrix to a complex triangular matrix. iconic. π¦
π― Purpose
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. π¨
This is an auxiliary routine so there is no argument checking.
π Parameters
UPLOβUPLOisCHARACTER*1.= 'U':A is upper triangular;= 'L':A is lower triangular.NβNisINTEGER. The number of rows and columns of the matrixA.N >= 0.AβAisCOMPLEX*16array, dimension(LDA,N). On entry, theN-by-Ntriangular coefficient matrixA.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).SAβSAisCOMPLEXarray, dimension(LDSA,N). Only theUPLOpart ofSAis referenced. On exit, ifINFO=0, theN-by-Ncoefficient matrixSA; ifINFO>0, the content of theUPLOpart ofSAis unspecified.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 of theUPLOpart ofSAin exit is unspecified.
π 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.
that's the whole page, bestie! xoxo π β footer sign-off: LAPACK Β· Version 3.12.0 Β· _lat2_(3). (there's no date on this footer, just version energy.) π«Ά
π¦ 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