SLARUV(3)

๐Ÿ“ฆ version 3.12.0, in opensuse-leap 16.0

๐Ÿฆ‹ SLARUV(3) ๐Ÿฆ‹

okay so bestie, you're reading the SLARUV(3) page from the Library Functions Manual โ€” the path is literally /home/abui...RC/slaruv.f(3) at both ends of the original header, iconic. Let's get into it ๐Ÿ’…


๐Ÿ’– NAME ๐Ÿ’–

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/slaruv.f

That's the file, no cap. ๐Ÿซถ


โœจ SYNOPSIS โœจ

Functions/Subroutines

subroutine SLARUV (iseed, n, x)

SLARUV returns a vector of n random real numbers from a uniform distribution. slay. ๐Ÿ’–


๐Ÿ“š Function/Subroutine Documentation ๐Ÿ“š

subroutine SLARUV (integer, dimension( 4 ) iseed, integer n, real, dimension( n ) x)

SLARUV returns a vector of n random real numbers from a uniform distribution. Yes, literally that. ๐Ÿ”ฅ

๐ŸŽ€ Purpose ๐ŸŽ€

ok so the purpose is: SLARUV returns a vector of n random real numbers from a uniform (0,1) distribution, with n <= 128. It's an auxiliary routine called by SLARNV and CLARNV. That's the whole vibe. โœจ

๐ŸŒธ Parameters ๐ŸŒธ

  • ISEED โ€” ISEED is INTEGER array, dimension (4). On entry, it's 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. ๐ŸŒ€
  • N โ€” N is INTEGER. It's the number of random numbers to be generated. N <= 128. ๐Ÿ”ข
  • X โ€” X is REAL array, dimension (N). These are the generated random numbers. ๐ŸŽฒ

๐Ÿ‘‘ Author ๐Ÿ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

๐Ÿงš Further Details ๐Ÿงš

This routine uses a multiplicative congruential method with modulus 2**48 and multiplier 33952834046453 (see G.S.Fishman, 'Multiplicative congruential random number generators with modulus 2**b: an exhaustive analysis for b = 32 and a partial analysis for b = 48', Math. Comp. 189, pp 331-344, 1990). ๐Ÿงฎ

48-bit integers are stored in 4 integer array elements with 12 bits per element. Hence the routine is portable across machines with integers of 32 bits or more. portability queen ๐Ÿ’…

๐Ÿ“Œ Definition at line 94 of file slaruv.f. ๐Ÿ“Œ

Definition at line 94 of file slaruv.f. ๐Ÿซถ


๐Ÿค– Author ๐Ÿค–

Generated automatically by Doxygen for LAPACK from the source code. Not me, bestie, that's the robots. ๐Ÿ’€


xoxo, your fave manual page ๐ŸŽ€๐Ÿ’– โ€” LAPACK Version 3.12.0, path /home/abui...RC/slaruv.f(3); the footer didn't give a date, so no invented date, periodt. ๐ŸŒˆ

๐Ÿ“ฆ where this page comes from