SRC/slaed5.f(3)
okay so this is SRC/slaed5.f(3) from the Library Functions Manual β manual-name name tag folded in, bestie, and we're talking about the little solver with main-character energy π
πΈ NAME πΈ
SRC/slaed5.f
π°οΈ SYNOPSIS π°οΈ
π§© Functions/Subroutines π§©
subroutine slaed5 (i, d, z, delta, rho, dlam)
SLAED5 used by SSTEDC. Solves the 2-by-2 secular equation.
that's the whole synopsis vibe, no cap β¨
π§ Function/Subroutine Documentation π§
subroutine slaed5 (integer i, real, dimension( 2 ) d, real, dimension( 2 )
z, real, dimension( 2 ) delta, real rho, real dlam)
SLAED5 used by SSTEDC. Solves the 2-by-2 secular equation.
β¨ Purpose: β¨
okay so here's the lore: this subroutine computes the I-th eigenvalue of a symmetric rank-one modification of a 2-by-2 diagonal matrix π«Ά
diag( D ) + RHO * Z * transpose(Z) .
the diagonal elements in the array D are assumed to satisfy:
D(i) < D(j) for i < j .
we also assume RHO > 0 and that the Euclidean norm of the vector Z is one. preconditions, bestie β they're not optional π
π’ Parameters π’
I
I is INTEGER. the index of the eigenvalue to be computed. I = 1 or I = 2.
D
D is REAL array, dimension (2). the original eigenvalues. we assume D(1) < D(2).
Z
Z is REAL array, dimension (2). the components of the updating vector.
DELTA
DELTA is REAL array, dimension (2). the vector DELTA contains the information necessary to construct the eigenvectors.
RHO
RHO is REAL. the scalar in the symmetric updating formula.
DLAM
DLAM is REAL. the computed lambda_I, the I-th updated 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 107 of file slaed5.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
footer sign-off, bestie: the footer's whole energy is LAPACK Version 3.12.0 and source SRC/slaed5.f(3) β that's the cute little stamp at the very end π«Άπ
π¦ 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