DLAGS2(3)
π NAME π
ok so bestie, this page is the manpage for /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlags2.f β like, that's literally the whole file path, no cap. it's a LAPACK source file and DLAGS2 is the routine living inside it. β¨
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine DLAGS2 (upper, a1, a2, a3, b1, b2, b3, csu, snu, csv, snv,
csq, snq)
lowkey the whole point: DLAGS2 computes 2-by-2 orthogonal matrices U, V, and Q, and applies them to matrices A and B such that the rows of the transformed A and B are parallel. that's it, that's the vibe π¦
π Function/Subroutine Documentation π
subroutine DLAGS2 (logical upper, double precision a1, double precision a2,
double precision a3, double precision b1, double precision b2,
double precision b3, double precision csu, double precision snu,
double precision csv, double precision snv, double precision csq,
double precision snq)
DLAGS2 computes 2-by-2 orthogonal matrices U, V, and Q, and applies them to matrices A and B such that the rows of the transformed A and B are parallel. yes she's an icon, yes she's doing math π
π₯ Purpose π₯
ok so, DLAGS2 computes 2-by-2 orthogonal matrices U, V and Q, such that if ( UPPER ) then
U**T *A*Q = U**T *( A1 A2 )*Q = ( x 0 )
( 0 A3 ) ( x x )
and
V**T*B*Q = V**T *( B1 B2 )*Q = ( x 0 )
( 0 B3 ) ( x x )
or if ( .NOT.UPPER ) then
U**T *A*Q = U**T *( A1 0 )*Q = ( x x )
( A2 A3 ) ( 0 x )
and
V**T*B*Q = V**T*( B1 0 )*Q = ( x x )
( B2 B3 ) ( 0 x )
the rows of the transformed A and B are parallel, where
U = ( CSU SNU ), V = ( CSV SNV ), Q = ( CSQ SNQ )
( -SNU CSU ) ( -SNV CSV ) ( -SNQ CSQ )
and Z**T denotes the transpose of Z. π«
β¨ Parameters β¨
UPPERβUPPER is LOGICAL. it's giving switch statement energy:= .TRUE.: the input matrices A and B are upper triangular.= .FALSE.: the input matrices A and B are lower triangular.
A1βA1 is DOUBLE PRECISION. just vibing, no extra lore.A2βA2 is DOUBLE PRECISION. same.A3βA3 is DOUBLE PRECISION. okay here's the tea: on entry,A1,A2andA3are elements of the input 2-by-2 upper (lower) triangular matrix A. π«ΆB1βB1 is DOUBLE PRECISION. hi bestie.B2βB2 is DOUBLE PRECISION. hiii.B3βB3 is DOUBLE PRECISION. on entry,B1,B2andB3are elements of the input 2-by-2 upper (lower) triangular matrix B. slay πCSUβCSU is DOUBLE PRECISION. part one of the moment.SNUβSNU is DOUBLE PRECISION. together withCSU, this is the desired orthogonal matrix U. πCSVβCSV is DOUBLE PRECISION. part one again, different girl.SNVβSNV is DOUBLE PRECISION. together withCSV, this is the desired orthogonal matrix V. π¦CSQβCSQ is DOUBLE PRECISION. last one i promise.SNQβSNQ is DOUBLE PRECISION. together withCSQ, this is the desired orthogonal matrix Q. and that's the trio complete π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Author (yes, again) π
Generated automatically by Doxygen for LAPACK from the source code. not a human writing this one, it's the machine's doing π
Definition at line 150 of file dlags2.f. (so if you need to point at it in a code review, you know exactly where to point π«΅)
and that's the whole page bestie!! πβ¨ this was LAPACK, Version 3.12.0, living at /home/abui...RC/dlags2.f(3) β go forth and orthogonalize, mwah ππ
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms