SRC/dlarrk.f(3)
okay bestie, this is the SRC/dlarrk.f(3) page from the Library Functions Manual โ and it's all about DLARRK, an auxiliary LAPACK subroutine. It's giving eigenvalue-hunting main character energy. ๐
โจ
โจ NAME โจ
SRC/dlarrk.f
๐ธ SYNOPSIS ๐ธ
๐ง Functions/Subroutines ๐ง
subroutine dlarrk (n, iw, gl, gu, d, e2, pivmin, reltol, w, werr, info)
DLARRK computes one eigenvalue of a symmetric tridiagonal matrix T
to suitable accuracy.
๐ Function/Subroutine 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 ๐ฆ
okay so the purpose is literally this: DLARRK computes one eigenvalue of a symmetric tridiagonal matrix T to suitable accuracy. It's auxiliary code โ it gets 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; it's the order of the tridiagonal matrixT, andN >= 0. โญIWโIW is INTEGER; it's the index of the eigenvalues to be returned.GLโGL is DOUBLE PRECISION. ๐ซถGUโGU is DOUBLE PRECISION; an upper and a lower bound on the eigenvalue.DโD is DOUBLE PRECISION array, dimension (N); these are the n diagonal elements of the tridiagonal matrixT.E2โE2 is DOUBLE PRECISION array, dimension (N-1); these are the (n-1) squared off-diagonal elements of the tridiagonal matrixT.PIVMINโPIVMIN is DOUBLE PRECISION; it's the minimum pivot allowed in the Sturm sequence forT.RELTOLโRELTOL is DOUBLE PRECISION; it's the minimum relative width of an interval. When an interval is narrower thanRELTOLtimes the larger (in magnitude) endpoint, then it is considered to be sufficiently small, i.e., converged. Note: this should always be at leastradix*machine epsilon. ๐งWโW is DOUBLE PRECISION. ๐ธWERRโWERR is DOUBLE PRECISION; it's the error bound on the corresponding eigenvalue approximation inW.INFOโINFO is INTEGER; the values are:= 0: Eigenvalue converged โ= -1: Eigenvalue did NOT converge ๐
๐ฎ Internal Parameters ๐ฎ
FUDGE DOUBLE PRECISION, default = 2
A to widen the Gershgorin intervals.
๐ Author ๐
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 143 of file dlarrk.f.
๐ Author ๐
Generated automatically by Doxygen for LAPACK from the source code.
that's the whole page, bestie: LAPACK ยท Version 3.12.0 ยท SRC/dlarrk.f(3) โ mwah ๐โจ
๐ฆ 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