SRC/dlarrc.f(3)
β¨ SRC/dlarrc.f β¨
Ok bestie, so this is a Library Functions Manual page for SRC/dlarrc.f and it's genuinely iconic β it's a little Fortran subroutine that counts eigenvalues for you. No cap. Let's get into it π
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine dlarrc (jobt, n, vl, vu, d, e, pivmin, eigcnt, lcnt, rcnt, info)
DLARRC computes the number of eigenvalues of the symmetric tridiagonal matrix. That's the whole vibe π¦
π Function/Subroutine Documentation π
subroutine dlarrc (character jobt, integer n, double precision vl, double precision vu, double precision, dimension( * ) d, double precision, dimension( * ) e, double precision pivmin, integer eigcnt, integer lcnt, integer rcnt, integer info)
DLARRC computes the number of eigenvalues of the symmetric tridiagonal matrix. Main character energy fr fr π
π― Purpose
Find the number of eigenvalues of the symmetric tridiagonal matrix T that are in the interval (VL,VU] if JOBT = 'T', and of L D L^T if JOBT = 'L'. Lowkey the whole point of the function π«Ά
Heads up: the interval is half-open, soVLis not included andVUis. Don't come for me, that's just what the bracket says π
π Parameters
JOBTβJOBT is CHARACTER*1, and it's literally the vibe selector:= 'T': Compute Sturm count for matrixT.= 'L': Compute Sturm count for matrixL D L^T.
NβN is INTEGER, the order of the matrix. Requirement:N > 0. Like, non-negotiable bestie.VLβVL is DOUBLE PRECISION, the lower bound for the eigenvalues.VUβVU is DOUBLE PRECISION, the upper bound for the eigenvalues.DβD is DOUBLE PRECISION array, dimension (N). Depends on the job:JOBT = 'T': TheNdiagonal elements of the tridiagonal matrixT.JOBT = 'L': TheNdiagonal elements of the diagonal matrixD.
EβE is DOUBLE PRECISION array, dimension (N). Again, job-dependent:JOBT = 'T': TheN-1offdiagonal elements of the matrixT.JOBT = 'L': TheN-1offdiagonal elements of the matrixL.
PIVMINβPIVMIN is DOUBLE PRECISION, the minimum pivot in the Sturm sequence forT. πEIGCNTβEIGCNT is INTEGER, the number of eigenvalues of the symmetric tridiagonal matrixTthat are in the interval(VL,VU]. This is the payoff, the answer, the slay πLCNTβLCNT is INTEGER. That's it. That's the description. The original page gives us zero details on this one, so I'm not gonna invent any πRCNTβRCNT is INTEGER, the left and right negcounts of the interval. (Yes,LCNTandRCNTshare that description β they're a package deal β¨)INFOβINFO is INTEGER. Again, the original gives no further description, so no extra lore from me π¦
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Contributors:
- Beresford Parlett, University of California, Berkeley, USA
- Jim Demmel, University of California, Berkeley, USA
- Inderjit Dhillon, University of Texas, Austin, USA
- Osni Marques, LBNL/NERSC, USA
- Christof Voemel, University of California, Berkeley, USA
Definition at line 135 of file dlarrc.f. Go look at it, it's right there π₯
β Author (the meta one)
Generated automatically by Doxygen for LAPACK from the source code. Not a human, just a robot doing its little documentation thing π€β¨
Ok that's the whole page bestie, go forth and count those eigenvalues π
Sign-off: this was LAPACK, Version 3.12.0, page SRC/dlarrc.f(3) β mwah, bye! ππ¦
π¦ 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