dnrm2.f(3)
π 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 saysDX, notXβ 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
- 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