SRC/dlauu2.f(3)
β¨ SRC/dlauu2.f β¨
okay so bestie, let me tell you about this iconic little Fortran file called dlauu2.f β it's from the LAPACK library and it's literally giving main character energy in the linear algebra world. no cap. π
π NAME π
SRC/dlauu2.f β the source file that's about to become your new obsession π
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine dlauu2 (uplo, n, a, lda, info)β okay so this one DLAUU2 computes the product UUH or LHL, where U and L are upper or lower triangular matrices (unblocked algorithm). it's the whole vibe, fr fr. β¨
Function/Subroutine Documentation
π¦ subroutine dlauu2 (character uplo, integer n, double precision, dimension( lda, * ) a, integer lda, integer info) π¦
DLAUU2 computes the product UUH or LHL, where U and L are upper or lower triangular matrices (unblocked algorithm). lowkey iconic, highkey essential. π«Ά
π Purpose π
like, let me spill the tea:
!>
!> DLAUU2 computes the product U * U**T or L**T * L, where the triangular
!> factor U or L is stored in the upper or lower triangular part of
!> the array A.
!>
!> If UPLO = 'U' or 'u' then the upper triangle of the result is stored,
!> overwriting the factor U in A.
!> If UPLO = 'L' or 'l' then the lower triangle of the result is stored,
!> overwriting the factor L in A.
!>
!> This is the unblocked form of the algorithm, calling Level 2 BLAS.
!>
so basically it's multiplying a triangular matrix by its transpose β U times U-transpose, or L-transpose times L β depending on which corner your factor is chillin' in. and it overwrites the answer right back into A like a true multitasker. it's the unblocked version, meaning it calls Level 2 BLAS and it's doing the math the honest way, one step at a time. respect. π
π Parameters π
UPLO
!> UPLO is CHARACTER*1
!> Specifies whether the triangular factor stored in the array A
!> is upper or lower triangular:
!> = 'U': Upper triangular
!> = 'L': Lower triangular
!>
this one's the vibe check β it tells the routine which triangle we're working with:
'U'β Upper triangular, periodt. π'L'β Lower triangular, no cap. π¦
N
!> N is INTEGER
!> The order of the triangular factor U or L. N >= 0.
!>
the order of your triangular factor U or L. and it's gotta be N >= 0, okay? no negative energy allowed here. π€
A
!> A is DOUBLE PRECISION array, dimension (LDA,N)
!> On entry, the triangular factor U or L.
!> On exit, if UPLO = 'U', the upper triangle of A is
!> overwritten with the upper triangle of the product U * U**T;
!> if UPLO = 'L', the lower triangle of A is overwritten with
!> the lower triangle of the product L**T * L.
!>
so A is a DOUBLE PRECISION array of dimension (LDA,N). on the way in, it's holding your triangular factor U or L. on the way out? it's been transformed β like a full glow-up:
- if
UPLO = 'U', the upper triangle ofAgets overwritten with the upper triangle of the productU * U**T⨠- if
UPLO = 'L', the lower triangle ofAgets overwritten with the lower triangle of the productL**T * Lπ
it's giving transformation arc, honestly. π§
LDA
!> LDA is INTEGER
!> The leading dimension of the array A. LDA >= max(1,N).
!>
the leading dimension of the array A. and it's gotta be LDA >= max(1,N) β don't even think about going smaller. π
INFO
!> INFO is INTEGER
!> = 0: successful exit
!> < 0: if INFO = -k, the k-th argument had an illegal value
!>
the receipts, basically:
INFO = 0β successful exit, we ate and left no crumbs π₯INFO < 0β ifINFO = -k, the k-th argument had an illegal value. oh no bestie, somebody passed something sus. π
π Author π
like, the legends who made this happen:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
absolute icons, all of them. π
β Definition β
Definition at line 101 of file dlauu2.f. β go look for yourself, iykyk. π¦
π« Author π«
Generated automatically by Doxygen for LAPACK from the source code. β so you know it's official official.
okay so quick warning bestie β INFO < 0 means somebody messed up an argument, so double-check your inputs before you come crying to me about weird results, mwah π
and that's the whole page! this little gem is from LAPACK Version 3.12.0, dated with all the love, and it's the SRC/dlauu2.f(3) manpage β now go forth and call dlauu2 responsibly, bestie. slay. πβ¨π
π¦ 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