SRC/dlasd8.f(3)
๐ธ SRC/dlasd8.f โ LAPACK's Library Functions Manual ๐ธ
Hiii bestie ๐ welcome to the SRC/dlasd8.f page in the Library Functions Manual. It's LAPACK, it's subroutine-core, and it's about to explain dlasd8 with zero boring-manpage energy. No cap. โจ
โจ NAME โจ
SRC/dlasd8.f โ the LAPACK subroutine dlasd8. It's giving "finds the square roots of the roots of the secular equation, and stores, for each element in D, the distance to its two nearest poles. Used by sbdsdc." ๐
๐ SYNOPSIS ๐
๐ Functions/Subroutines ๐
subroutine dlasd8 (icompq, k, d, z, vf, vl, difl, difr, lddifr, dsigma,
work, info)
DLASD8 finds the square roots of the roots of the secular equation, and stores, for each element in D, the distance to its two nearest poles. Used by sbdsdc. โจ
๐งฎ Function/Subroutine Documentation ๐งฎ
subroutine dlasd8 (integer icompq, integer k, double precision, dimension( *
) d, double precision, dimension( * ) z, double precision, dimension( *
) vf, double precision, dimension( * ) vl, double precision, dimension(
* ) difl, double precision, dimension( lddifr, * ) difr, integer lddifr,
double precision, dimension( * ) dsigma, double precision, dimension( *
) work, integer info)
๐ฏ Purpose ๐ฏ
Okay so DLASD8 finds the square roots of the roots of the secular equation, as defined by the values in DSIGMA and Z. It makes the appropriate calls to DLASD4, and stores, for each element in D, the distance to its two nearest poles (elements in DSIGMA). It also updates the arrays VF and VL, the first and last components of all the right singular vectors of the original bidiagonal matrix. ๐ฆ
DLASD8 is called from DLASD6. Periodt. ๐
๐ Parameters ๐
ICOMPQโINTEGER. Specifies whether singular vectors are to be computed in factored form in the calling routine:= 0: compute singular values only.= 1: compute singular vectors in factored form as well. ๐KโINTEGER. The number of terms in the rational function to be solved byDLASD4.K >= 1. โจDโDOUBLE PRECISION array, dimension ( K ). On output,Dcontains the updated singular values. ๐ZโDOUBLE PRECISION array, dimension ( K ). On entry, the firstKelements of this array contain the components of the deflation-adjusted updating row vector. On exit,Zis updated. ๐ซถVFโDOUBLE PRECISION array, dimension ( K ). On entry,VFcontains information passed throughDBEDE8. On exit,VFcontains the firstKcomponents of the first components of all right singular vectors of the bidiagonal matrix. ๐ธVLโDOUBLE PRECISION array, dimension ( K ). On entry,VLcontains information passed throughDBEDE8. On exit,VLcontains the firstKcomponents of the last components of all right singular vectors of the bidiagonal matrix. ๐ฆDIFLโDOUBLE PRECISION array, dimension ( K ). On exit,DIFL(I) = D(I) - DSIGMA(I). ๐DIFRโDOUBLE PRECISION array, dimension( LDDIFR, 2 )ifICOMPQ = 1and dimension( K )ifICOMPQ = 0. On exit,DIFR(I,1) = D(I) - DSIGMA(I+1),DIFR(K,1)is not defined and will not be referenced. IfICOMPQ = 1,DIFR(1:K,2)is an array containing the normalizing factors for the right singular vector matrix. ๐LDDIFRโINTEGER. The leading dimension ofDIFR, must be at leastK. ๐ฅDSIGMAโDOUBLE PRECISION array, dimension ( K ). On entry, the firstKelements of this array contain the old roots of the deflated updating problem. These are the poles of the secular equation. ๐WORKโDOUBLE PRECISION array, dimension (3*K). โญINFOโINTEGER.= 0: successful exit.< 0: ifINFO = -i, thei-th argument had an illegal value.> 0: ifINFO = 1, a singular value did not converge. ๐ญ
๐ Author ๐
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
๐ซถ Contributors ๐ซถ
Ming Gu and Huan Ren, Computer Science Division, University of California at Berkeley, USA. ๐
๐ Definition at line 162 of file dlasd8.f. ๐
๐ค Author ๐ค
Generated automatically by Doxygen for LAPACK from the source code. โจ
Okay bestie, that's the whole page ๐ the footer tea is LAPACK Version 3.12.0, source SRC/dlasd8.f(3), and no separate date is printed on the page โ just version/source realness. Byeee ๐ซถโจ
๐ฆ 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