lasd8(3)
okay bestie, welcome to the lasd8(3) page from the Library Functions Manual β weβre getting into the D&C step: secular equation and itβs giving linear algebra main character energy. π
β¨
π NAME π
lasd8 β lasd8: D&C step: secular equation
β¨ SYNOPSIS β¨
π«Ά Functions
dlasd8β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 inD, the distance to its two nearest poles. Used bysbdsdc. π¦slasd8β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 inD, the distance to its two nearest poles. Used bysbdsdc. π¦
πΈ Detailed Description πΈ
okay so this section is lowkey just a little hallway before the real function tea, bestie. the actual details are right below and they are iconic. π
π₯ Function Documentation π₯
π dlasd8
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)
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. πβ¨
Purpose:
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. no cap, thatβs the pipeline. π₯
Parameters
ICOMPQβICOMPQ is 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βK is INTEGER. The number of terms in the rational function to be solved byDLASD4.K >= 1.DβD is DOUBLE PRECISION array, dimension ( K ). On output,Dcontains the updated singular values.ZβZ is 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βVF is 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βVL is 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βDIFL is DOUBLE PRECISION array, dimension ( K ). On exit,DIFL(I) = D(I) - DSIGMA(I).DIFRβDIFR is 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βLDDIFR is INTEGER. The leading dimension ofDIFR, must be at leastK.DSIGMAβDSIGMA is 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βWORK is DOUBLE PRECISION array, dimension (3*K).INFOβINFO is 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.
π 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. periodt. π₯
Parameters
ICOMPQβICOMPQ is 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βK is INTEGER. The number of terms in the rational function to be solved bySLASD4.K >= 1.DβD is REAL array, dimension ( K ). On output,Dcontains the updated singular values.ZβZ is REAL 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βVF is REAL 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βVL is REAL 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βDIFL is REAL array, dimension ( K ). On exit,DIFL(I) = D(I) - DSIGMA(I).DIFRβDIFR is REAL 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βLDDIFR is INTEGER. The leading dimension ofDIFR, must be at leastK.DSIGMAβDSIGMA is REAL 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βWORK is REAL array, dimension (3*K).INFOβINFO is 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 slasd8.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the whole page bestie π β source/version vibes: LAPACK Version 3.12.0, and the footer page is lasd8(3). bye bestie! π¦π
π¦ 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