SRC/dlasd5.f(3)
π SRC/dlasd5.f(3) π
hey bestie, welcome to the Library Functions Manual page for SRC/dlasd5.f β yes, that's the whole title vibe. this is the dlasd5 subroutine's little corner of LAPACK, and we're gonna read it together like a group chat, no cap. π
πΈ NAME πΈ
SRC/dlasd5.f β literally the name, bestie. that's it. that's the section. π«Ά
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine dlasd5 (i, d, z, delta, rho, dsigma, work)
DLASD5 computes the square root of the i-th eigenvalue of a positive symmetric rank-one modification of a 2-by-2 diagonal matrix. Used by sbdsdc.
π Function/Subroutine Documentation π
π§ subroutine dlasd5 β the full signature π§
subroutine dlasd5 (integer i, double precision, dimension( 2 ) d, double precision, dimension( 2 ) z, double precision, dimension( 2 ) delta, double precision rho, double precision dsigma, double precision, dimension( 2 ) work)
DLASD5 computes the square root of the i-th eigenvalue of a positive symmetric rank-one modification of a 2-by-2 diagonal matrix. Used by sbdsdc. π¦
π Purpose π
ok so this subroutine computes the square root of the I-th eigenvalue of a positive symmetric rank-one modification of a 2-by-2 diagonal matrix:
diag( D ) * diag( D ) + RHO * Z * transpose(Z) .
the diagonal entries in the array D are assumed to satisfy:
0 <= D(i) < D(j) for i < j .
we also assume RHO > 0 and that the Euclidean norm of the vector Z is one. periodt. π
π Parameters π
IβI is INTEGER; the index of the eigenvalue to be computed.I = 1orI = 2. πDβD is DOUBLE PRECISION array, dimension ( 2 ); the original eigenvalues. We assume0 <= D(1) < D(2). πZβZ is DOUBLE PRECISION array, dimension ( 2 ); the components of the updating vector. π¦DELTAβDELTA is DOUBLE PRECISION array, dimension ( 2 ); contains(D(j) - sigma_I)in its j-th component. The vectorDELTAcontains the information necessary to construct the eigenvectors. β¨RHOβRHO is DOUBLE PRECISION; the scalar in the symmetric updating formula. π₯DSIGMAβDSIGMA is DOUBLE PRECISION; the computedsigma_I, theI-th updated eigenvalue. πWORKβWORK is DOUBLE PRECISION array, dimension ( 2 );WORKcontains(D(j) + sigma_I)in its j-th component. πΈ
π 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 115 of file dlasd5.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bye bestie π«Ά this whole thing is LAPACK, Version 3.12.0, and the file SRC/dlasd5.f(3) β see ya! β¨π
π¦ 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