SRC/dlaed6.f(3)
π NAME π
okay so picture it: SRC/dlaed6.f(3), from the Library Functions Manual, and itβs giving main character Fortran subroutine energy. The file is SRC/dlaed6.f. Thatβs the name, thatβs the icon, thatβs the moment. β¨
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine dlaed6 (kniter, orgati, rho, d, z, finit, tau, info)
DLAED6 used by DSTEDC. Computes one Newton step in solution of the secular equation.
π¦ Function/Subroutine Documentation π¦
subroutine dlaed6 (integer kniter, logical orgati, double precision rho,
double precision, dimension( 3 ) d, double precision, dimension( 3 ) z,
double precision finit, double precision tau, integer info)
DLAED6 used by DSTEDC. Computes one Newton step in solution of the secular equation.
β¨ Purpose β¨
okay bestie, hereβs the whole point: DLAED6 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
It is 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 DLAED4 when necessary. In most cases, the root sought is the smallest in magnitude, though it might not be in some extremely rare situations.
rare situations said βnot today, bestieβ β the smallest-in-magnitude thing is most cases, not every case. periodt.
π Parameters π
KNITERβKNITERisINTEGER. Refer toDLAED4for its significance. iykyk.ORGATIβORGATIisLOGICAL. IfORGATIis true, the needed root is betweend(2)andd(3); otherwise it is betweend(1)andd(2). SeeDLAED4for further details.RHOβRHOisDOUBLE PRECISION. Refer to the equationf(x)above β thatβs the vibe.DβDisDOUBLE PRECISIONarray, dimension(3).Dsatisfiesd(1) < d(2) < d(3). strict ordering, no chaos.ZβZisDOUBLE PRECISIONarray, dimension(3). Each of the elements inzmust be positive. no negatives allowed, bestie πFINITβFINITisDOUBLE PRECISION. The value offat0. It is more accurate than the one evaluated inside this routine (if someone wants to do so).TAUβTAUisDOUBLE PRECISION. The root of the equationf(x).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.
π 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.
π Contributors π
Ren-Cang Li, Computer Science Division, University of California at Berkeley, USA
Definition at line 139 of file dlaed6.f.
πΈ Author πΈ
Generated automatically by Doxygen for LAPACK from the source code.
sign-off bestie: this whole page is SRC/dlaed6.f(3), LAPACK Version 3.12.0, with the 10/02/03 and 05/10/06 notes living their best life above. πβ¨π«Ά
π¦ 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