SRC/dlat2s.f(3)
Okay bestie, this page is literally from the LAPACK Library Functions Manual, and itβs all about one tiny-but-important conversion helper. Letβs get into it. π β¨
πΈ NAME πΈ
SRC/dlat2s.f β thatβs the filename in the NAME block, and honestly the page is serving exactly that. π
π SYNOPSIS π
π§ Functions/Subroutines
subroutine dlat2s (uplo, n, a, lda, sa, ldsa, info)
DLAT2S converts a double-precision triangular matrix to a single-
precision triangular matrix.
One subroutine, seven arguments, full conversion business. Slay. π
π¦ Function/Subroutine Documentation π¦
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.
π₯ Purpose
Okay so the purpose block says DLAT2S converts a DOUBLE PRECISION triangular matrix, SA, to a SINGLE PRECISION triangular matrix, A. Thatβs what the page says, bestie β Iβm not editing the lore. ππ
RMAX is the overflow for the SINGLE PRECISION arithmetic. DLAS2S checks that all the entries of A are between -RMAX and RMAX. If not, the conversion is aborted and a flag is raised. π©
Also, this is an auxiliary routine, so there is no argument checking. Not even a little vibe check for the args. π
π Parameters π
UPLOβCHARACTER*1. It tells you the triangle situation:= 'U': A is upper triangular;and= 'L': A is lower triangular.NβINTEGER. The number of rows and columns of the matrixA.N >= 0.AβDOUBLE PRECISION array, dimension (LDA,N). On entry, the N-by-N triangular coefficient matrixA.LDAβINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).SAβREAL array, dimension (LDSA,N). Only theUPLOpart ofSAis referenced. On exit, ifINFO=0, the N-by-N coefficient matrixSA; ifINFO>0, the content of theUPLOpart ofSAis unspecified.LDSAβINTEGER. The leading dimension of the arraySA.LDSA >= max(1,M). Yes, the page saysMhere β Iβm just reading it to you, bestie. πINFOβINTEGER.= 0: successful exit.= 1: an entry of the matrixAis greater than the SINGLE PRECISION overflow threshold; in this case, the content of theUPLOpart ofSAon 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. π
π Author
Generated automatically by Doxygen for LAPACK from the source code. π€β¨
Catch you later, bestie β this one is from LAPACK Version 3.12.0, page SRC/dlat2s.f(3). The footer doesnβt give a date, so Iβm not inventing one. πβ¨π
π¦ 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