scnrm2.f(3)

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

πŸŽ€ scnrm2.f πŸŽ€

okay so this is the scnrm2.f page from LAPACK, and bestie, it's literally the manual for one tiny but iconic function. come sit with me πŸ’…


✨ SYNOPSIS ✨

🌸 Functions/Subroutines 🌸

  • real function scnrm2 (N, X, INCX) β€” yeah. that's her. that's SCNRM2. πŸ‘‘

πŸ’– Function/Subroutine Documentation πŸ’–

πŸ¦‹ real function scnrm2 (integer N, complex, dimension(*) X, integer INCX) πŸ¦‹

✨ SCNRM2 ✨


πŸ’œ Purpose πŸ’œ

okay so here's the whole vibe: SCNRM2 returns the euclidean norm of a vector, and it does it "via the function name", so that

SCNRM2 := sqrt( x**H*x )

that's it. that's the whole job. and she does it flawlessly. no cap. πŸ”₯


🌈 Parameters 🌈

  • N β€” N is INTEGER. it's the number of elements in the input vector(s). like, how many besties are in the group chat. πŸ’…
  • X β€” X is a COMPLEX array, dimension (N). it's the complex vector with N elements. the actual content. the main characters. πŸ‘‘
  • INCX β€” INCX is INTEGER. it's the storage spacing between elements of X. iykyk β€” the stride, bestie. how far apart the elements are living. πŸ¦‹

🧚 Author 🧚

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

like, an entire academic friend group wrote this. obsessed. 🫢


πŸ“… Date πŸ“…

November 2017


⭐ Further Details ⭐

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

the way that this has been serving since 1982 and got a glow-up in 1993... periodt. πŸ’€βœ¨


πŸ“ Definition πŸ“

Definition at line 77 of file scnrm2.f.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for LAPACK from the source code.


and that's the whole page, bestie!! πŸŽ€ this diva Version 3.8.0 dropped on Tue Nov 14 2017, and honestly? she ate. πŸ’…πŸ’–πŸŒΈ

πŸ“¦ where this page comes from