DLANEG(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’– 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). The N diagonal elements of the diagonal matrix D. πŸ“
  • LLD β€” DOUBLE PRECISION array, dimension (N-1). The (N-1) elements L(i)*L(i)*D(i). πŸ’…
  • SIGMA β€” DOUBLE PRECISION. Shift amount in T - 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