SRC/slasd8.f(3)
okay bestie, welcome to the Library Functions Manual page for SRC/slasd8.f(3) π
β¨
π NAME
SRC/slasd8.f
That's the name, and honestly? iconic. No cap.
β¨ SYNOPSIS
Functions/Subroutines
subroutine slasd8 (icompq, k, d, z, vf, vl, difl, difr, lddifr, dsigma,
work, info)
SLASD8 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 slasd8
subroutine slasd8 (integer icompq, integer k, real, dimension( * ) d, real,
dimension( * ) z, real, dimension( * ) vf, real, dimension( * ) vl,
real, dimension( * ) difl, real, dimension( lddifr, * ) difr, integer
lddifr, real, dimension( * ) dsigma, real, dimension( * ) work, integer
info)
SLASD8 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.
π― Purpose
SLASD8 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 SLASD4, 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.
SLASD8 is called from SLASD6.
π§ Parameters
ICOMPQβICOMPQisINTEGER. 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βKisINTEGER. The number of terms in the rational function to be solved bySLASD4.K >= 1.DβDisREALarray, dimension( K ). On output,Dcontains the updated singular values.ZβZisREALarray, dimension( K ). On entry, the firstKelements of this array contain the components of the deflation-adjusted updating row vector. On exit,Zis updated.VFβVFisREALarray, 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βVLisREALarray, 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βDIFLisREALarray, dimension( K ). On exit,DIFL(I) = D(I) - DSIGMA(I).DIFRβDIFRisREALarray, 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βLDDIFRisINTEGER. The leading dimension ofDIFR, must be at leastK.DSIGMAβDSIGMAisREALarray, 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βWORKisREALarray, dimension(3*K).INFOβINFOisINTEGER.= 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 slasd8.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
and that's the whole page, bestie β footer vibes are LAPACK Version 3.12.0 and SRC/slasd8.f(3), byeeee ππ
π¦ 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