lasd4(3)
π NAME π
lasd4 β lasd4: D&C step: secular equation nonlinear solver β¨
This is the lasd4(3) page from the LAPACK Library Functions Manual, bestie π«Ά. It's the divide-and-conquer step's secular-equation nonlinear solver, and there are two flavors: double precision (dlasd4) and single precision (slasd4) π
.
π¦ SYNOPSIS π¦
Functions
subroutine dlasd4 (n, i, d, z, delta, rho, sigma, work, info)βDLASD4computes the square root of the i-th updated eigenvalue of a positive symmetric rank-one modification to a positive diagonal matrix. Used bydbdsdc.subroutine slasd4 (n, i, d, z, delta, rho, sigma, work, info)βSLASD4computes the square root of the i-th updated eigenvalue of a positive symmetric rank-one modification to a positive diagonal matrix. Used bysbdsdc.
β¨ DETAILED DESCRIPTION β¨
Okay so this is the detailed-description zone π. The source page rolls straight into the function docs from here β no extra side quests, just the two subroutines below.
π FUNCTION DOCUMENTATION π
π dlasd4 π
Full signature, exactly as it appears:
subroutine dlasd4 (integer n, integer i, double precision, dimension( * ) d, double precision, dimension( * ) z, double precision, dimension( * ) delta, double precision rho, double precision sigma, double precision, dimension( * ) work, integer info)
DLASD4 computes the square root of the i-th updated eigenvalue of a positive symmetric rank-one modification to a positive diagonal matrix. Used by dbdsdc.
πΈ Purpose πΈ
Bestie, what this subroutine does is compute the square root of the I-th updated eigenvalue of a positive symmetric rank-one modification to a positive diagonal matrix. The diagonal entries are the squares of the matching entries in the array d, and the setup guarantees
0 <= D(i) < D(j) for i < j
plus RHO > 0. The calling routine arranges that, and it's no loss in generality. So the rank-one modified system is
diag( D ) * diag( D ) + RHO * Z * Z_transpose.
with the Euclidean norm of Z assumed to be 1 π¦.
The method? It approximates the rational functions in the secular equation with simpler interpolating rational functions. Iconic behavior, honestly π .
π§ Parameters π§
NβN is INTEGER. The length of all arrays.IβI is INTEGER. The index of the eigenvalue to be computed.1 <= I <= N.DβD is DOUBLE PRECISION array, dimension ( N ). The original eigenvalues. It is assumed that they are in order,0 <= D(I) < D(J)forI < J.ZβZ is DOUBLE PRECISION array, dimension ( N ). The components of the updating vector.DELTAβDELTA is DOUBLE PRECISION array, dimension ( N ). IfN .ne. 1,DELTAcontains(D(j) - sigma_I)in its j-th component. IfN = 1, thenDELTA(1) = 1. The vectorDELTAcontains the information necessary to construct the (singular) eigenvectors.RHOβRHO is DOUBLE PRECISION. The scalar in the symmetric updating formula.SIGMAβSIGMA is DOUBLE PRECISION. The computedsigma_I, the I-th updated eigenvalue.WORKβWORK is DOUBLE PRECISION array, dimension ( N ). IfN .ne. 1,WORKcontains(D(j) + sigma_I)in its j-th component. IfN = 1, thenWORK( 1 ) = 1.INFOβINFO is INTEGER.= 0: successful exit> 0: ifINFO = 1, the updating process failed.
π¦ Internal Parameters π¦
- Logical variable
ORGATI(origin-at-i?) is used for distinguishing whetherD(i)orD(i+1)is treated as the origin.ORGATI = .true.β origin atiORGATI = .false.β origin ati+1
- Logical variable
SWTCH3(switch-for-3-poles?) is for noting if we are working with THREE poles! MAXITis the maximum number of iterations allowed for each eigenvalue.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π«Ά Contributors π«Ά
- Ren-Cang Li, Computer Science Division, University of California at Berkeley, USA
Definition at line 152 of file dlasd4.f.
π slasd4 π
Full signature, exactly as it appears:
subroutine slasd4 (integer n, integer i, real, dimension( * ) d, real, dimension( * ) z, real, dimension( * ) delta, real rho, real sigma, real, dimension( * ) work, integer info)
SLASD4 computes the square root of the i-th updated eigenvalue of a positive symmetric rank-one modification to a positive diagonal matrix. Used by sbdsdc.
πΈ Purpose πΈ
Bestie, this one computes the square root of the I-th updated eigenvalue of a positive symmetric rank-one modification to a positive diagonal matrix. The diagonal entries are the squares of the matching entries in the array d, and the setup guarantees
0 <= D(i) < D(j) for i < j
plus RHO > 0. The calling routine arranges that, and it's no loss in generality. So the rank-one modified system is
diag( D ) * diag( D ) + RHO * Z * Z_transpose.
with the Euclidean norm of Z assumed to be 1 π¦.
The method? It approximates the rational functions in the secular equation with simpler interpolating rational functions. Iconic behavior, honestly π .
π§ Parameters π§
NβN is INTEGER. The length of all arrays.IβI is INTEGER. The index of the eigenvalue to be computed.1 <= I <= N.DβD is REAL array, dimension ( N ). The original eigenvalues. It is assumed that they are in order,0 <= D(I) < D(J)forI < J.ZβZ is REAL array, dimension ( N ). The components of the updating vector.DELTAβDELTA is REAL array, dimension ( N ). IfN .ne. 1,DELTAcontains(D(j) - sigma_I)in its j-th component. IfN = 1, thenDELTA(1) = 1. The vectorDELTAcontains the information necessary to construct the (singular) eigenvectors.RHOβRHO is REAL. The scalar in the symmetric updating formula.SIGMAβSIGMA is REAL. The computedsigma_I, the I-th updated eigenvalue.WORKβWORK is REAL array, dimension ( N ). IfN .ne. 1,WORKcontains(D(j) + sigma_I)in its j-th component. IfN = 1, thenWORK( 1 ) = 1.INFOβINFO is INTEGER.= 0: successful exit> 0: ifINFO = 1, the updating process failed.
π¦ Internal Parameters π¦
- Logical variable
ORGATI(origin-at-i?) is used for distinguishing whetherD(i)orD(i+1)is treated as the origin.ORGATI = .true.β origin atiORGATI = .false.β origin ati+1
- Logical variable
SWTCH3(switch-for-3-poles?) is for noting if we are working with THREE poles! MAXITis the maximum number of iterations allowed for each eigenvalue.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π«Ά Contributors π«Ά
- Ren-Cang Li, Computer Science Division, University of California at Berkeley, USA
Definition at line 152 of file slasd4.f.
π AUTHOR π
Generated automatically by Doxygen for LAPACK from the source code. π
Cute sign-off time, bestie π: this footer belongs to LAPACK, LAPACK Version 3.12.0, manual page lasd4(3) β and the date slot is not listed in the original footer, so we're not inventing one. Periodt π
β¨
π¦ 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