SRC/dlapy3.f(3)
π SRC/dlapy3.f β from the Library Functions Manual, bestie β¨
okay so before we even start: this page lives in the Library Functions Manual, the file is SRC/dlapy3.f, and it's literally the cutest tiny little LAPACK page. no cap, it's giving "one job and she does it flawlessly." π
β¨ NAME β¨
SRC/dlapy3.f β that's her. that's the whole name. iconic, lowkey mysterious, we love a minimal queen π
π¦ SYNOPSIS π¦
Functions/Subroutines
double precision function dlapy3 (x, y, z)β DLAPY3 returns sqrt(x2+y2+z2).
like. she literally tells you what she does in the title. main character energy fr fr π
π Function/Subroutine Documentation π
double precision function dlapy3 (double precision x, double precision y,
double precision z)
DLAPY3 returns sqrt(x2+y2+z2). π«Ά
πΈ Purpose πΈ
straight from the source, verbatim, because we do NOT paraphrase the sacred texts:
!>
!> DLAPY3 returns sqrt(x**2+y**2+z**2), taking care not to cause
!> unnecessary overflow and unnecessary underflow.
!>
ok so real talk β the whole point of her is computing that square root without letting things overflow or underflow unnecessarily. she's careful. she's thoughtful. she's the friend who holds your drink and your secrets π β¨
π Parameters π
XβX is DOUBLE PRECISION
!> X is DOUBLE PRECISION
!>
YβY is DOUBLE PRECISION
!> Y is DOUBLE PRECISION
!>
ZβZ is DOUBLE PRECISION, and the note is:X, Y and Z specify the values x, y and z.
!> Z is DOUBLE PRECISION
!> X, Y and Z specify the values x, y and z.
!>
three args, all DOUBLE PRECISION, and together they're literally just x, y and z. no plot twists. no hidden fourth argument lurking in the shadows. we stan a transparent icon π
π§ Author π§
the whole squad gets credit, periodt:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π and one more thing, bestie: Definition at line 67 of file dlapy3.f. β that's where she actually lives, if you ever wanna go visit her in the source. line 67. write it down π
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
so likeβ¦ a robot wrote this page, not a person π but the robot ate, honestly, no crumbs left π
vibe check summary: one function, threeDOUBLE PRECISIONargs, one very responsiblesqrt(x**2+y**2+z**2), zero unnecessary overflow, zero unnecessary underflow. she's perfect. that's the tweet π¦
and that's the whole page!! mwah π
β§ΛΒ° LAPACK, Version 3.12.0 β generated by Doxygen, see you in the next manpage bestie β§ΛΒ°
π¦ 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