/home/abui...N/zlarnd.f(3)
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/MATGEN/zlarnd.f
okay so that's the whole name, bestie β it's a path, not a personality, but we move. This is the zlarnd.f page from the LAPACK library functions manual (section 3). π
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
complex *16 function ZLARND (idist, iseed)β literally just ZLARND, that's the whole vibe
π Function/Subroutine Documentation π
πΈ complex*16 function ZLARND (integer idist, integer, dimension( 4 ) iseed) πΈ
ZLARND. that's it, that's the subroutine. π
π Purpose:
!>
!> ZLARND returns a random complex number from a uniform or normal
!> distribution.
!>
no cap β it hands you back a random complex number, and you get to pick whether it comes from a uniform or a normal distribution. iconic behavior honestly. π₯
β Parameters
IDIST
!> IDIST is INTEGER
!> Specifies the distribution of the random numbers:
!> = 1: real and imaginary parts each uniform (0,1)
!> = 2: real and imaginary parts each uniform (-1,1)
!> = 3: real and imaginary parts each normal (0,1)
!> = 4: uniformly distributed on the disc abs(z) <= 1
!> = 5: uniformly distributed on the circle abs(z) = 1
!>
so IDIST is an INTEGER and it's the whole vibe check for your random numbers. the options, fr fr:
= 1β real and imaginary parts each uniform(0,1)= 2β real and imaginary parts each uniform(-1,1)= 3β real and imaginary parts each normal(0,1)= 4β uniformly distributed on the discabs(z) <= 1= 5β uniformly distributed on the circleabs(z) = 1
five flavors, pick your fighter. π
ISEED
!> ISEED is INTEGER array, dimension (4)
!> On entry, the seed of the random number generator; the array
!> elements must be between 0 and 4095, and ISEED(4) must be
!> odd.
!> On exit, the seed is updated.
!>
ISEED is an INTEGER array with dimension (4). on entry it's the seed of the random number generator β and listen, the array elements must be between 0 and 4095, and ISEED(4) must be odd. like, mandatory mandatory. π«Ά on exit the seed gets updated, so it's giving main character energy and evolving as it goes. π«
seriously tho,ISEED(4)odd and everything in0β4095β those are the rules, no skipping them. π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad, we love to see it. π
π₯ Further Details:
!>
!> This routine calls the auxiliary routine DLARAN to generate a random
!> real number from a uniform (0,1) distribution. The Box-Muller method
!> is used to transform numbers from a uniform to a normal distribution.
!>
iykyk β this routine calls the auxiliary routine DLARAN to generate a random real number from a uniform (0,1) distribution, and the Box-Muller method is used to transform numbers from a uniform to a normal distribution. math girlies ate that one. π§
π« Definition at line 74 of file zlarnd.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
(not me being auto-generated by Doxygen π slay I guess)
okay that's the whole page, bestie β and the sign-off: this is LAPACK, Version 3.12.0, dated /home/abui...N/zlarnd.f(3). go forth and generate some random complex numbers, you've got this π
β¨π·
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms