SLAED6(3)
π slaed6.f(3) β Library Functions Manual π
ok so bestie, this is a page from the Library Functions Manual for slaed6.f, and honestly? it's giving "tiny subroutine, huge main character energy." you're gonna do great, let's get into it π«Ά
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/slaed6.f
like, that's the whole name. yes it's a path. yes it's long. no I will not be shortening it, the facts are the facts π
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine SLAED6 (kniter, orgati, rho, d, z, finit, tau, info)
SLAED6 is used by SSTEDC. It computes one Newton step in solution of the secular equation. lowkey a whole little icon β¨
π Function/Subroutine Documentation π
π subroutine SLAED6
subroutine SLAED6 (integer kniter, logical orgati, real rho, real, dimension( 3 ) d,
real, dimension( 3 ) z, real finit, real tau, integer info)
SLAED6 used by SSTEDC. Computes one Newton step in solution of the secular equation. that's the whole job. she's focused. she's employed. we love her π
π¦ Purpose:
ok so here's the tea β SLAED6 computes the positive or negative root (closest to the origin) of:
z(1) z(2) z(3)
f(x) = rho + --------- + ---------- + ---------
d(1)-x d(2)-x d(3)-x
and it's assumed that:
- if
ORGATI = .true.the root is betweend(2)andd(3); - otherwise it is between
d(1)andd(2)
this routine will be called by SLAED4 when necessary. in most cases, the root sought is the smallest in magnitude, though it might not be in some extremely rare situations. rare situation erasure?? no. we respect the edge cases here π
π Parameters
KNITERβKNITERisINTEGER. Refer toSLAED4for its significance. (iykyk, she's passing the baton πββοΈ)ORGATIβORGATIisLOGICAL. IfORGATIis true, the needed root is betweend(2)andd(3); otherwise it is betweend(1)andd(2). SeeSLAED4for further details.RHOβRHOisREAL. Refer to the equationf(x)above. literally just scroll up bestie π₯°DβDisREALarray, dimension (3).Dsatisfiesd(1) < d(2) < d(3). strictly ordered, no chaos, we stan a sorted queen πZβZisREALarray, dimension (3). Each of the elements inzmust be positive. all positive. every single one. don't try it π₯FINITβFINITisREAL. The value offat0. It is more accurate than the one evaluated inside this routine (if someone wants to do so). so like, use the good one, it's right there πTAUβTAUisREAL. The root of the equationf(x). that's the prize. that's the answer she's computing π―INFOβINFOisINTEGER= 0: successful exit π> 0: ifINFO = 1, failure to converge π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
four whole institutions. a collaborative slay π€
π§ Further Details:
10/02/03: This version has a few statements commented out for thread safety (machine parameters are computed on each entry). SJH.
05/10/06: Modified from a new version of Ren-Cang Li, use Gragg-Thornton-Warner cubic convergent scheme for better stability.
thread safety got her editing comments out, and the Gragg-Thornton-Warner cubic convergent scheme came through for better stability. periodt. π
β Contributors:
- Ren-Cang Li, Computer Science Division, University of California at Berkeley, USA
Definition at line 139 of file slaed6.f. line one-three-nine, mark it π
π« Author
Generated automatically by Doxygen for LAPACK from the source code. not a human, just vibes and automation π€β¨
alright bestie, that's the whole page!! this was LAPACK, Version 3.12.0, from /home/abui...RC/slaed6.f(3) β mwah, go call SLAED4 if you need more context, ily, bye ππ¦π
π¦ 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