BLAS/SRC/dznrm2.f90(3)
π BLAS/SRC/dznrm2.f90(3) β Library Functions Manual
okay bestie, welcome to the dznrm2 page β¨ this is from the BLAS/SRC girlies, and honestly? she's a little icon. let's get into it π
π NAME π
BLAS/SRC/dznrm2.f90 β no cap, that's literally her whole name. she's the file, she's the function, she's the moment π
πΈ SYNOPSIS πΈ
Functions/Subroutines
real(wp) function dznrm2 (n, x, incx)β bestie. this is theDZNRM2.
Function/Subroutine Documentation
real(wp) function dznrm2 (integer n, complex(wp), dimension(*) x, integer incx)
DZNRM2 π«
Purpose:
!>
!> DZNRM2 returns the euclidean norm of a vector via the function
!> name, so that
!>
!> DZNRM2 := sqrt( x**H*x )
!>
so yeah, she returns the euclidean norm of a vector, fr fr β that formula up there is the whole vibe check π§
β¨ Parameters β¨
NβN is INTEGER, and she's the number of elements in your input vector(s) π
!> N is INTEGER
!> number of elements in input vector(s)
!>
XβX is COMPLEX*16 array, dimension (N). a complex vector withNelements, that's her π
!> X is COMPLEX*16 array, dimension (N)
!> complex vector with N elements
!>
INCXβINCX is INTEGER, the storage spacing between elements ofX. this one's important, pay attention bestie π
!> INCX is INTEGER, storage spacing between elements of X
!> If INCX > 0, X(1+(i-1)*INCX) = x(i) for 1 <= i <= n
!> If INCX < 0, X(1-(n-i)*INCX) = x(i) for 1 <= i <= n
!> If INCX = 0, x isn't a vector so there is no need to call
!> this subroutine. If you call it anyway, it will count x(1)
!> in the vector norm N times.
!>
π«Ά so like, ifINCXis positive she strides forward, if it's negative she strides backward, and if it's0β¦ girl,xisn't a vector anymore, so there's literally no need to call this subroutine. and if you call it anyway? it will countx(1)in the vector normNtimes. not a slay, but that's what it does π
π Author π
Edward Anderson, Lockheed Martin β the icon behind it all π«‘
π Date π
August 2016 β a vintage, lowkey π
π Contributors: π
Weslley Pereira, University of Colorado Denver, USA πΊπΈβ¨
π₯ Further Details: π₯
!>
!> Anderson E. (2017)
!> Algorithm 978: Safe Scaling in the Level 1 BLAS
!> ACM Trans Math Softw 44:1--28
!> https://doi.org/10.1145/3061665
!>
!> Blue, James L. (1978)
!> A Portable Fortran Program to Find the Euclidean Norm of a Vector
!> ACM Trans Math Softw 4:15--23
!> https://doi.org/10.1145/355769.355771
!>
!>
like, the receipts are RIGHT there. she cites her sources, we stan an academically honest queen ππ
Definition at line 89 of file dznrm2.f90 β
β Author β
Generated automatically by Doxygen for LAPACK from the source code β so nobody hand-wrote this one, she was born this way π§ββοΈ
π and that's the whole page bestie!! mwah π this was LAPACK, Version 3.12.0, serving BLAS/SRC/dznrm2.f90(3) realness β see you in the next manpage, ily π«ΆππΈ
π¦ 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