/home/abui...N/clarnd.f(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸŽ€ 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 disc abs(z) <= 1
  • = 5: uniformly distributed on the circle abs(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: 0 to 4095 for every element, and ISEED(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