larrk(3)

πŸ’– larrk(3) β€” Library Functions Manual πŸ’–

okay bestie, welcome to larrk(3) from the Library Functions Manual β€” it's giving β€œtiny LAPACK helper page that is actually carrying the eigenvalue accuracy lore.” no cap. ✨

🌸 NAME 🌸

larrk β€” larrk: step in stemr, compute one eigval

πŸŽ€ SYNOPSIS πŸŽ€

Functions

  • dlarrk β€” subroutine dlarrk (integer n, integer iw, double precision gl, double precision gu, double precision, dimension( * ) d, double precision, dimension( * ) e2, double precision pivmin, double precision reltol, double precision w, double precision werr, integer info) β€” DLARRK computes one eigenvalue of a symmetric tridiagonal matrix T to suitable accuracy.
  • slarrk β€” subroutine slarrk (integer n, integer iw, real gl, real gu, real, dimension( * ) d, real, dimension( * ) e2, real pivmin, real reltol, real w, real werr, integer info) β€” SLARRK computes one eigenvalue of a symmetric tridiagonal matrix T to suitable accuracy.

✨ Detailed Description ✨

okay so the detailed description is literally this: the page documents two Fortran subroutines, dlarrk and slarrk, and their full deets are right below. πŸ’…

πŸ”₯ Function Documentation πŸ”₯

subroutine dlarrk

subroutine dlarrk (integer n, integer iw, double precision gl, double precision gu, double precision, dimension( * ) d, double precision, dimension( * ) e2, double precision pivmin, double precision reltol, double precision w, double precision werr, integer info)

DLARRK computes one eigenvalue of a symmetric tridiagonal matrix T to suitable accuracy. πŸ¦‹

Purpose

DLARRK computes one eigenvalue of a symmetric tridiagonal matrix T to suitable accuracy. This is an auxiliary code to be called from DSTEMR.

To avoid overflow, the matrix must be scaled so that its largest element is no greater than overflow**(1/2) * underflow**(1/4) in absolute value, and for greatest accuracy, it should not be much smaller than that.

See W. Kahan , Report CS41, Computer Science Dept., Stanford University, July 21, 1966.

Parameters

  • N β€” N is INTEGER. The order of the tridiagonal matrix T. N >= 0.
  • IW β€” IW is INTEGER. The index of the eigenvalues to be returned.
  • GL β€” GL is DOUBLE PRECISION. That is all it says here, bestie.
  • GU β€” GU is DOUBLE PRECISION. An upper and a lower bound on the eigenvalue.
  • D β€” D is DOUBLE PRECISION array, dimension (N). The n diagonal elements of the tridiagonal matrix T.
  • E2 β€” E2 is DOUBLE PRECISION array, dimension (N-1). The (n-1) squared off-diagonal elements of the tridiagonal matrix T.
  • PIVMIN β€” PIVMIN is DOUBLE PRECISION. The minimum pivot allowed in the Sturm sequence for T.
  • RELTOL β€” RELTOL is DOUBLE PRECISION. The minimum relative width of an interval. When an interval is narrower than RELTOL times the larger (in magnitude) endpoint, then it is considered to be sufficiently small, i.e., converged. Note: this should always be at least radix*machine epsilon.
  • W β€” W is DOUBLE PRECISION. No extra description on this line.
  • WERR β€” WERR is DOUBLE PRECISION. The error bound on the corresponding eigenvalue approximation in W.
  • INFO β€” INFO is INTEGER.
    • = 0: Eigenvalue converged
    • = -1: Eigenvalue did NOT converge

Internal Parameters

  • FUDGE β€” DOUBLE PRECISION, default = 2. The source description is literally A to widen the Gershgorin intervals. (yes, double space and all, bestie).

Author

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Definition at line 143 of file dlarrk.f.


subroutine slarrk

subroutine slarrk (integer n, integer iw, real gl, real gu, real, dimension( * ) d, real, dimension( * ) e2, real pivmin, real reltol, real w, real werr, integer info)

SLARRK computes one eigenvalue of a symmetric tridiagonal matrix T to suitable accuracy. 🌸

Purpose

SLARRK computes one eigenvalue of a symmetric tridiagonal matrix T to suitable accuracy. This is an auxiliary code to be called from SSTEMR.

To avoid overflow, the matrix must be scaled so that its largest element is no greater than overflow**(1/2) * underflow**(1/4) in absolute value, and for greatest accuracy, it should not be much smaller than that.

See W. Kahan , Report CS41, Computer Science Dept., Stanford University, July 21, 1966.

Parameters

  • N β€” N is INTEGER. The order of the tridiagonal matrix T. N >= 0.
  • IW β€” IW is INTEGER. The index of the eigenvalues to be returned.
  • GL β€” GL is REAL. That is all it says here, bestie.
  • GU β€” GU is REAL. An upper and a lower bound on the eigenvalue.
  • D β€” D is REAL array, dimension (N). The n diagonal elements of the tridiagonal matrix T.
  • E2 β€” E2 is REAL array, dimension (N-1). The (n-1) squared off-diagonal elements of the tridiagonal matrix T.
  • PIVMIN β€” PIVMIN is REAL. The minimum pivot allowed in the Sturm sequence for T.
  • RELTOL β€” RELTOL is REAL. The minimum relative width of an interval. When an interval is narrower than RELTOL times the larger (in magnitude) endpoint, then it is considered to be sufficiently small, i.e., converged. Note: this should always be at least radix*machine epsilon.
  • W β€” W is REAL. No extra description on this line.
  • WERR β€” WERR is REAL. The error bound on the corresponding eigenvalue approximation in W.
  • INFO β€” INFO is INTEGER.
    • = 0: Eigenvalue converged
    • = -1: Eigenvalue did NOT converge

Internal Parameters

  • FUDGE β€” REAL, default = 2. The source description is literally A to widen the Gershgorin intervals. (yes, double space and all, bestie).

Author

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Definition at line 143 of file slarrk.f.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for LAPACK from the source code.

and that is the page, bestie β€” footer sign-off energy: LAPACK Version 3.12.0, larrk(3). πŸ’…βœ¨

πŸ“¦ where this page comes from