dnrm2.f(3)

πŸ“¦ version 3.9.0, in centos-stream 9

πŸŽ€ dnrm2.f β€” LAPACK manual page (dnrm2.f(3)), bestie edition πŸŽ€

okay so bestie, welcome to the LAPACK page for dnrm2.f. ngl, it's giving tiny file, main character math energy, and we're keeping literally every single crumb of the original β€” just with way more sparkle. Vibe check: immaculate. No cap. βœ¨πŸ’…

πŸ’– NAME πŸ’–

dnrm2.f β€” that's the name, periodt. Slay. 🫢

✨ SYNOPSIS ✨

Under Functions/Subroutines, the signature is exactly this cutie:

       double precision function dnrm2 (N, X, INCX)
           DNRM2

🌸 Function/Subroutine Documentation 🌸

Here's the full documented signature, verbatim because we respect the source code in this house:

   double precision function dnrm2 (integer N, double precision, dimension(*)
       X, integer INCX)
       DNRM2

πŸ¦‹ Purpose πŸ¦‹

The way that DNRM2 returns the euclidean norm of a vector via the function name is lowkey iconic, so that

DNRM2 := sqrt( x'*x )

That's the whole point, and it ate β€” iykyk. Highkey obsessed with how clean this is. πŸ’…

πŸ’… Parameters πŸ’…

  • N β€” N is INTEGER; number of elements in input vector(s). That's the count, bestie. πŸ”’
  • X β€” X is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). Yes, the whole dimensions situation is exactly that. πŸ“
  • INCX β€” INCX is INTEGER; storage spacing between elements of DX. (Yep, the original says DX, not X β€” not me fixing it, just reporting it. πŸ™ˆ)
fr fr, that DX detail is straight from the source page β€” no sneaky edits. πŸ’€

πŸ‘‘ Author πŸ‘‘

The author squad is:

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

πŸŽ€ Date πŸŽ€

November 2017

🌈 Further Details 🌈

The extra tea, preserved exactly:

-- This version written on 25-October-1982.
   Modified on 14-October-1993 to inline the call to DLASSQ.
   Sven Hammarling, Nag Ltd.

And the definition location is:

Definition at line 76 of file dnrm2.f.

⭐ Author ⭐

The Author section says: Generated automatically by Doxygen for LAPACK from the source code. ✨

πŸ’– cute sign-off: LAPACK Version 3.8.0, dated Tue Nov 14 2017, for dnrm2.f(3) β€” generated from the LAPACK source code, bye bestie! πŸ’‹πŸ’–

πŸ“¦ where this page comes from