SRC/dlasq3.f(3)
π SRC/dlasq3.f(3)
okay so this is from the Library Functions Manual, and itβs giving βdeep LAPACK internals but make it group-chat.β The page is literally called SRC/dlasq3.f, and bestie, weβre about to read the whole thing together. π«Άβ¨
πΈ NAME
SRC/dlasq3.f β thatβs the whole name slot, no extra subtitle energy here. π
β¨ SYNOPSIS
π οΈ Functions/Subroutines
subroutine dlasq3 (i0, n0, z, pp, dmin, sigma, desig, qmax, nfail, iter,
ndiv, ieee, ttype, dmin1, dmin2, dn, dn1, dn2, g, tau)
DLASQ3 checks for deflation, computes a shift and calls dqds. Used by sbdsqr. Thatβs the vibe check: deflation detective work, shift math, and then it hands off to dqds. π¦
π Function/Subroutine Documentation
subroutine dlasq3 (integer i0, integer n0, double precision, dimension( * )
z, integer pp, double precision dmin, double precision sigma, double
precision desig, double precision qmax, integer nfail, integer iter,
integer ndiv, logical ieee, integer ttype, double precision dmin1,
double precision dmin2, double precision dn, double precision dn1,
double precision dn2, double precision g, double precision tau)
DLASQ3 checks for deflation, computes a shift and calls dqds. Used by sbdsqr. Iconic behavior, honestly. π
π Purpose
DLASQ3 checks for deflation, computes a shift (TAU) and calls dqds. If something fails, it changes shifts and tries again until the output is positive. So itβs not just one-and-done β itβs giving βwe regroup and run it backβ energy. π₯
π Parameters
I0βI0isINTEGER. First index.N0βN0isINTEGER. Last index.ZβZisDOUBLE PRECISION array, dimension ( 4*N0 ).Zholds the qd array.PPβPPisINTEGER.PP=0for ping,PP=1for pong.PP=2indicates that flipping was applied to theZarray and that the initial tests for deflation should not be performed.DMINβDMINisDOUBLE PRECISION. Minimum value of d.SIGMAβSIGMAisDOUBLE PRECISION. Sum of shifts used in current segment.DESIGβDESIGisDOUBLE PRECISION. Lower order part ofSIGMA.QMAXβQMAXisDOUBLE PRECISION. Maximum value of q.NFAILβNFAILisINTEGER. IncrementNFAILby 1 each time the shift was too big.ITERβITERisINTEGER. IncrementITERby 1 for each iteration.NDIVβNDIVisINTEGER. IncrementNDIVby 1 for each division.IEEEβIEEEisLOGICAL. Flag for IEEE or non IEEE arithmetic (passed toDLASQ5).TTYPEβTTYPEisINTEGER. Shift type.DMIN1βDMIN1isDOUBLE PRECISION.DMIN2βDMIN2isDOUBLE PRECISION.DNβDNisDOUBLE PRECISION.DN1βDN1isDOUBLE PRECISION.DN2βDN2isDOUBLE PRECISION.GβGisDOUBLE PRECISION.TAUβTAUisDOUBLE PRECISION. These are passed as arguments in order to save their values between calls toDLASQ3.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 179 of file dlasq3.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
LAPACK Version 3.12.0 Β· SRC/dlasq3.f(3) β thatβs the footer tea, bestie (no date listed in this footer, just pure LAPACK 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