scnrm2.f(3)
π 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'sSCNRM2. π
π 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βNisINTEGER. it's the number of elements in the input vector(s). like, how many besties are in the group chat. πXβXis aCOMPLEXarray, dimension(N). it's the complex vector withNelements. the actual content. the main characters. πINCXβINCXisINTEGER. it's the storage spacing between elements ofX. 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
- centos-stream 9: blas 3.9.0-10.el9 Β· BSD
- centos-stream 9: blas 3.9.0-10.el9 Β· BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms