SLASD5(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’… 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 β€” I is INTEGER. The index of the eigenvalue to be computed. I = 1 or I = 2. that's it, only two options, very pick-me but make it math πŸ’€
  • D β€” D is REAL array, dimension (2). The original eigenvalues. We assume 0 <= D(1) < D(2). order matters, iconique πŸ™ˆ
  • Z β€” Z is REAL array, dimension (2). The components of the updating vector. the little update vector that could 🫢
  • DELTA β€” DELTA is REAL array, dimension (2). Contains (D(j) - sigma_I) in its j-th component. The vector DELTA contains the information necessary to construct the eigenvectors. she's giving construction worker, but for eigenvectors πŸ—οΈβœ¨
  • RHO β€” RHO is REAL. The scalar in the symmetric updating formula. just a scalar doing scalar things πŸ’œ
  • DSIGMA β€” DSIGMA is REAL. The computed sigma_I, the I-th updated eigenvalue. the glow-up result, we love to see her πŸ”₯
  • WORK β€” WORK is REAL array, dimension (2). WORK contains (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) for i < j, RHO > 0, Z norm 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