/home/abui...N/clarnd.f(3)
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/MATGEN/clarnd.f
okay so this is a page from the Library Functions Manual (yes, that's the manual name, we're fancy here π ) and it's all about one little file, bestie. That path? That's the whole name section. Iconic of it, honestly.
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines
complex function CLARND (idist, iseed)β CLARND. that's it. that's the entry. she's mysterious, she's brief πΈ
π Function/Subroutine Documentation π
complex function CLARND (integer idist, integer, dimension( 4 ) iseed)
CLARND. say her name π
π Purpose:
CLARND hands you back a random complex number, pulled either from a uniform distribution or a normal one. that's the whole vibe. lowkey simple, highkey useful β¨
π¦ Parameters
IDIST
IDIST is INTEGER.
it tells the routine which distribution to serve up:
= 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 fave π
ISEED
ISEED is an INTEGER array, dimension (4).
on entry: this is the seed of the random number generator π₯ and the rules are strict, bestie β the array elements must be between 0 and 4095, and ISEED(4) must be odd.
on exit: the seed is updated. she moves on, she grows π
not me warning you twice:0to4095for every element, andISEED(4)odd. do not test her on this.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
four whole institutions collaborated on this. group project that actually ate π
β Further Details:
this routine calls the auxiliary routine SLARAN to generate a random real number from a uniform (0,1) distribution. then the Box-Muller method is used to transform numbers from a uniform to a normal distribution. math queen behavior, no cap π§
π Definition at line 74 of file clarnd.f.
πΈ Author
Generated automatically by Doxygen for LAPACK from the source code. a robot wrote this part, not me π
okay that's the whole page, bestie, you ate that reading session fr fr. it's LAPACK, Version 3.12.0, and the date on this one is literally just that same /home/abui...N/clarnd.f(3) path doing double duty β she contains multitudes ππ¦ periodt.
π¦ 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