sterf(3)

πŸŽ€ NAME πŸŽ€

okay so bestie, this is sterf(3) from the Library Functions Manual β€” yes, the manual name is literally folded right in here with love. πŸ’–

  • sterf β€” sterf: eig, QR iteration

✨ SYNOPSIS ✨

πŸŽ€ Functions πŸŽ€

Here’s the function roster β€” two subroutines, same iconic energy:

subroutine dsterf (n, d, e, info)
    DSTERF
subroutine ssterf (n, d, e, info)
    SSTERF

πŸ’« Detailed Description πŸ’«

There’s no extra prose in this section in the source β€” it goes straight into the function docs. Buckle up, we’re going in. πŸ¦‹


πŸ”₯ Function Documentation πŸ”₯

πŸ’– subroutine dsterf πŸ’–

subroutine dsterf (integer n, double precision, dimension( * ) d, double precision, dimension( * ) e, integer info)

DSTERF

πŸ¦‹ Purpose πŸ¦‹

DSTERF computes all eigenvalues of a symmetric tridiagonal matrix using the Pal-Walker-Kahan variant of the QL or QR algorithm. That’s the whole glow-up. ✨

🌸 Parameters 🌸

  • N β€” N is INTEGER. The order of the matrix. N >= 0.
  • D β€” D is DOUBLE PRECISION array, dimension (N). On entry, the n diagonal elements of the tridiagonal matrix. On exit, if INFO = 0, the eigenvalues in ascending order.
  • E β€” E is DOUBLE PRECISION array, dimension (N-1). On entry, the (n-1) subdiagonal elements of the tridiagonal matrix. On exit, E has been destroyed.
  • INFO β€” INFO is INTEGER.
    • = 0: successful exit
    • < 0: if INFO = -i, the i-th argument had an illegal value
    • > 0: the algorithm failed to find all of the eigenvalues in a total of 30*N iterations; if INFO = i, then i elements of E have not converged to zero.

πŸ‘‘ Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Definition at line 85 of file dsterf.f.


πŸ’– subroutine ssterf πŸ’–

subroutine ssterf (integer n, real, dimension( * ) d, real, dimension( * ) e, integer info)

SSTERF

πŸ¦‹ Purpose πŸ¦‹

SSTERF computes all eigenvalues of a symmetric tridiagonal matrix using the Pal-Walker-Kahan variant of the QL or QR algorithm. Same slay, single-precision edition. πŸ’…

🌸 Parameters 🌸

  • N β€” N is INTEGER. The order of the matrix. N >= 0.
  • D β€” D is REAL array, dimension (N). On entry, the n diagonal elements of the tridiagonal matrix. On exit, if INFO = 0, the eigenvalues in ascending order.
  • E β€” E is REAL array, dimension (N-1). On entry, the (n-1) subdiagonal elements of the tridiagonal matrix. On exit, E has been destroyed.
  • INFO β€” INFO is INTEGER.
    • = 0: successful exit
    • < 0: if INFO = -i, the i-th argument had an illegal value
    • > 0: the algorithm failed to find all of the eigenvalues in a total of 30*N iterations; if INFO = i, then i elements of E have not converged to zero.

πŸ‘‘ Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Definition at line 85 of file ssterf.f.


🌈 Author 🌈

Generated automatically by Doxygen for LAPACK from the source code.


Cute sign-off: the source is LAPACK, version 3.12.0 🌟 β€” and the original footer’s date slot has no separate date shown, just the sterf(3) tag on the right. πŸ«ΆπŸ’…

πŸ“¦ where this page comes from