lasq5(3)
π lasq5(3) β the dqds step but make it make sense
okay so bestie, you found lasq5. she's a LAPACK routine, she does one dqds transform in ping-pong form. yes that's the real name. no I will not explain why it's called ping-pong. it just is. iconic behavior honestly.
πΈ NAME πΈ
lasq5 β lasq5: dqds step
like literally what the title says. she steps. she dqds. she serves.
β¨ SYNOPSIS β¨
Functions
subroutine dlasq5 (i0, n0, z, pp, tau, sigma, dmin, dmin1, dmin2, dn, dnm1, dnm2, ieee, eps)_DLASQ5_ computes one dqds transform in ping-pong form. Used bysbdsqrandsstegr.subroutine slasq5 (i0, n0, z, pp, tau, sigma, dmin, dmin1, dmin2, dn, dnm1, dnm2, ieee, eps)_SLASQ5_ computes one dqds transform in ping-pong form. Used bysbdsqrandsstegr.
two flavors, same vibes. one's double precision, one's single. choose your fighter π«Ά
Detailed Description
okay so the detailed description section is lowkey just vibes and the function docs. let's get into it π
π Function Documentation
subroutine dlasq5 (integer i0, integer n0, double precision, dimension( * ) z, integer pp, double precision tau, double precision sigma, double precision dmin, double precision dmin1, double precision dmin2, double precision dn, double precision dnm1, double precision dnm2, logical ieee, double precision eps)
DLASQ5 computes one dqds transform in ping-pong form. Used by sbdsqr and sstegr. that's the whole assignment. she ate.
π¦ Purpose
!>
!> DLASQ5 computes one dqds transform in ping-pong form, one
!> version for IEEE machines another for non IEEE machines.
!>
so basically: one transform, two IEEE modes, no cap π
π Parameters
I0βI0 is INTEGERFirst index. the beginning. where it all starts bestie β¨N0βN0 is INTEGERLast index. the end of the line π₯ΊZβZ is DOUBLE PRECISION array, dimension ( 4*N )Zholds the qd array.EMINis stored inZ(4*N0)to avoid an extra argument. efficient queen behavior honestly πPPβPP is INTEGERPP=0for ping,PP=1for pong. yes. that's really the documentation. i'm not making this up πTAUβTAU is DOUBLE PRECISIONThis is the shift. the glow-up. the plot twist π«SIGMAβSIGMA is DOUBLE PRECISIONThis is the accumulated shift up to this step. she's been through things. she's carrying history πΈDMINβDMIN is DOUBLE PRECISIONMinimum value ofd. the smallest. the humble. the underrated πDMIN1βDMIN1 is DOUBLE PRECISIONMinimum value ofd, excludingD( N0 ). so close to the minimum but not the whole picture π«ΆDMIN2βDMIN2 is DOUBLE PRECISIONMinimum value ofd, excludingD( N0 )andD( N0-1 ). even more exclusive. VIP list energy πDNβDN is DOUBLE PRECISIONd(N0), the last value ofd. the final boss. main character energy πDNM1βDNM1 is DOUBLE PRECISIONd(N0-1). second to last. still slaying in her own right β¨DNM2βDNM2 is DOUBLE PRECISIONd(N0-2). the third from the end. lowkey underappreciated honestly π₯ΊIEEEβIEEE is LOGICALFlag for IEEE or non IEEE arithmetic. pick a lane bestie π¦EPSβEPS is DOUBLE PRECISIONThis is the value of epsilon used. tiny but mighty. the little detail that matters π
π Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
the whole squad, fr fr π«Ά
Definition at line 142 of file dlasq5.f. β¨
subroutine slasq5 (integer i0, integer n0, real, dimension( * ) z, integer pp, real tau, real sigma, real dmin, real dmin1, real dmin2, real dn, real dnm1, real dnm2, logical ieee, real eps)
SLASQ5 computes one dqds transform in ping-pong form. Used by sbdsqr and sstegr. same assignment, single precision this time. she's the real one. literally π
π¦ Purpose
!>
!> SLASQ5 computes one dqds transform in ping-pong form, one
!> version for IEEE machines another for non IEEE machines.
!>
identical purpose, identical energy, just real instead of double precision π
π Parameters
I0βI0 is INTEGERFirst index. the origin story β¨N0βN0 is INTEGERLast index. the finale π₯ΊZβZ is REAL array, dimension ( 4*N )Zholds the qd array.EMINis stored inZ(4*N0)to avoid an extra argument. same efficient era πPPβPP is INTEGERPP=0for ping,PP=1for pong. the duality of woman πTAUβTAU is REALThis is the shift. the moment. the energy π«SIGMAβSIGMA is REALThis is the accumulated shift up to this step. emotional baggage but make it math πΈDMINβDMIN is REALMinimum value ofd. tiny icon πDMIN1βDMIN1 is REALMinimum value ofd, excludingD( N0 ). almost the whole picture π«ΆDMIN2βDMIN2 is REALMinimum value ofd, excludingD( N0 )andD( N0-1 ). even more selective πDNβDN is REALd(N0), the last value ofd. the closer. the icon πDNM1βDNM1 is REALd(N0-1). runner-up but still stunning β¨DNM2βDNM2 is REALd(N0-2). third place but never third-rate π₯ΊIEEEβIEEE is LOGICALFlag for IEEE or non IEEE arithmetic. choose wisely π¦EPSβEPS is REALThis is the value of epsilon used. small but she's doing her job π
π Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
same legends, single precision edition π«Ά
Definition at line 142 of file slasq5.f. β¨
π Author π
Generated automatically by Doxygen for LAPACK from the source code. so she was literally born this way. no notes π
and that's the whole page bestie. lasq5 said "i do one dqds transform in ping-pong form" and made it everyone's problem. we love her for it πβ¨
LAPACK β Version 3.12.0 πΈ lasq5(3) β go slay your linear algebra era π
π¦ 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