SLASD5(3)
π SLASD5(3) β the slasd5.f girlies rise
okay so bestie, welcome to SLASD5, a whole subroutine from the LAPACK fam (that's the Library Functions Manual energy, and yes we're in the section 3 files today π).
Also can we talk about the NAME? The name of this file is literally just its whole address, main-character-coded:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/slasd5.f
periodt. that's where she lives. π β¨
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine SLASD5 (i, d, z, delta, rho, dsigma, work)
SLASD5 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. no cap, that's the whole vibe check. π¦
π Function/Subroutine Documentation π
subroutine SLASD5 (integer i, real, dimension( 2 ) d, real, dimension( 2 )
z, real, dimension( 2 ) delta, real rho, real dsigma, real, dimension( 2
) work)
SLASD5 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. (yes, we said it twice, she's consistent π
)
πΈ Purpose:
okay so, the tea:
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. lowkey crucial, don't skip those assumptions bestie, they're the whole foundation of the fit π§β¨
π Parameters π
IβIisINTEGER. The index of the eigenvalue to be computed.I = 1orI = 2. that's it, only two options, very pick-me but make it math πDβDisREAL array, dimension (2). The original eigenvalues. We assume0 <= D(1) < D(2). order matters, iconique πZβZisREAL array, dimension (2). The components of the updating vector. the little update vector that could π«ΆDELTAβDELTAisREAL array, dimension (2). Contains(D(j) - sigma_I)in its j-th component. The vectorDELTAcontains the information necessary to construct the eigenvectors. she's giving construction worker, but for eigenvectors ποΈβ¨RHOβRHOisREAL. The scalar in the symmetric updating formula. just a scalar doing scalar things πDSIGMAβDSIGMAisREAL. The computedsigma_I, the I-th updated eigenvalue. the glow-up result, we love to see her π₯WORKβWORKisREAL array, dimension (2).WORKcontains(D(j) + sigma_I)in its j-th component. note: plus this time, not minus β DELTA took the minus, WORK took the plus, they're matching but opposite, it's giving twin flames π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
four legends, one subroutine. the collab we didn't know we needed π«Άπ
β Contributors:
Ren-Cang Li, Computer Science Division, University of California at Berkeley, USA. shoutout Ren-Cang, actual main character energy πβ¨
π¦ Definition
Definition at line 115 of file slasd5.f. exact coordinates, iykyk π
π« Author (the meta one)
Generated automatically by Doxygen for LAPACK from the source code. not me being auto-generated, she's a bot but she's slaying π π€
fr fr bestie, keep those assumptions (0 <= D(i) < D(j)fori < j,RHO > 0,Znorm one) intact or the math does not math. no notes, just respect the constraints π
and that's the whole page π mwah π β brought to you by LAPACK, Version 3.12.0, footer included, generated automatically by Doxygen for LAPACK from the source code. stay iconic, stay orthogonal πβ¨πΈ
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms