DLANEG(3)
π DLANEG(3) π
okay so bestie, this page is from the LAPACK Library Functions Manual, and the whole vibe is βweβre computing a Sturm count and weβre gonna be precise about it.β π¦
πΈ NAME πΈ
The NAME here is literally this source file path:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlaneg.f
So yes, this is the DLANEG page, and DLANEG computes the Sturm count. π
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines π«Ά
integer function DLANEG (n, d, lld, sigma, pivmin, r)β DLANEG computes the Sturm count. periodt.
π Function/Subroutine Documentation π
The full signature is giving very βI live in a numerical linear algebra libraryβ energy:
integer function DLANEG (integer n, double precision, dimension( * ) d,
double precision, dimension( * ) lld, double precision sigma, double
precision pivmin, integer r)
And once again, for the people in the back: DLANEG computes the Sturm count. π
π Purpose π
okay so hereβs the lore: DLANEG computes the Sturm count, which is the number of negative pivots you encounter while factoring the tridiagonal matrix T - sigma I = L D L^T. This implementation works directly on the factors β it does not form the tridiagonal matrix T. The Sturm count is also the number of eigenvalues of T less than sigma. β¨
This routine is called from DLARRB. π«Ά
The current routine does not use the PIVMIN parameter; instead it requires IEEE-754 propagation of Infinities and NaNs. This routine also has no input range restrictions, but it does require default exception handling such that x/0 produces Inf when x is non-zero, and Inf/Inf produces NaN. For more information, see:
Marques, Riedy, and Voemel, SIAM Journal on Scientific Computing, v28, n5, 2006. DOI 10.1137/050641624 (Tech report version in LAWN 172 with the same title.)
π§ Parameters π§
Nβ INTEGER. The order of the matrix. πDβ DOUBLE PRECISION array, dimension (N). TheNdiagonal elements of the diagonal matrixD. πLLDβ DOUBLE PRECISION array, dimension (N-1). The(N-1)elementsL(i)*L(i)*D(i). πSIGMAβ DOUBLE PRECISION. Shift amount inT - sigma I = L D L^T. β¨PIVMINβ DOUBLE PRECISION. The minimum pivot in the Sturm sequence. May be used when zero pivots are encountered on non-IEEE-754 architectures. π«ΆRβ INTEGER. The twist index for the twisted factorization that is used for the negcount. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π¦ Contributors: π¦
- Osni Marques, LBNL/NERSC, USA
- Christof Voemel, University of California, Berkeley, USA
- Jason Riedy, University of California, Berkeley, USA
π Definition at line 117 of file dlaneg.f.
πͺ Author πͺ
Generated automatically by Doxygen for LAPACK from the source code. Not handwritten, but still iconic. πβ¨
Final sign-off from the footer, bestie: LAPACK Version 3.12.0, from /home/abui...RC/dlaneg.f(3) β and the footer doesnβt give us a separate date, so thatβs the source/version/date-ish moment. ππ¦
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms