SLANEG(3)
π SLANEG(3) β Sturm Count Bestie π
okay so this is SLANEG(3), from the Library Functions Manual, and she is here to compute the Sturm count. the source file is /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/slaneg.f. we are folding the manual-name situation in up here instead of copy-pasting the whole header line, because we are classy like that π
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/slaneg.f
that is literally the NAME line, bestie. no cap, it is a path π
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
integer function SLANEG (n, d, lld, sigma, pivmin, r)βSLANEGcomputes the Sturm count. π
π Function/Subroutine Documentation π
integer function SLANEG (integer n, real, dimension( * ) d, real, dimension( * ) lld, real sigma, real pivmin, integer r)
SLANEG computes the Sturm count.
π Purpose: π
okay so SLANEG 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. the way this implementation does it? it works directly on the factors without forming the tridiagonal matrix T. and the Sturm count is also the number of eigenvalues of T less than sigma. slay. π¦
This routine is called from SLARRB. noted. π
quick caveat, bestie: the current routine does not use thePIVMINparameter β 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 thatx/0produces Inf whenxis non-zero, andInf/Infproduces 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βNis INTEGER. The order of the matrix. πDβDis REAL array, dimension(N). The N diagonal elements of the diagonal matrixD. πLLDβLLDis REAL array, dimension(N-1). The (N-1) elementsL(i)*L(i)*D(i). πSIGMAβSIGMAis REAL. Shift amount inT - sigma I = L D L^T. β¨PIVMINβPIVMINis REAL. The minimum pivot in the Sturm sequence. May be used when zero pivots are encountered on non-IEEE-754 architectures. π«ΆRβRis 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
and the definition? Definition at line 117 of file slaneg.f. π
π« Author π«
Generated automatically by Doxygen for LAPACK from the source code.
and that's the tea, bestie π«Ά this page is from LAPACK, Version 3.12.0, and the footer path is /home/abui...RC/slaneg.f(3). mwah π
π¦ 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