SRC/dlaruv.f(3)
SRC/dlaruv.f π β¨
Okay bestie, this is the Library Functions Manual glow-up for SRC/dlaruv.f(3) β yes, the dlaruv routine is the main character today. She makes random numbers, she has a 48-bit situation, and sheβs lowkey iconic. No cap. π
πΈ NAME πΈ
SRC/dlaruv.f
Thatβs the whole name section, and honestly? Minimalist queen. π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine dlaruv (iseed, n, x)
DLARUV returns a vector of n random real numbers from a uniform distribution. Slay.
π Function/Subroutine Documentation π
subroutine dlaruv (integer, dimension( 4 ) iseed, integer n, double precision, dimension( n ) x)
DLARUV returns a vector of n random real numbers from a uniform distribution. (Yes bestie, she said it again β consistency is iconic. π)
π― Purpose π―
Okay so DLARUV returns a vector of n random real numbers from a uniform (0,1) distribution, with the limit n <= 128. Sheβs an auxiliary routine called by DLARNV and ZLARNV. Iykyk. π
π 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, and N <= 128. β¨
X
X is DOUBLE PRECISION 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. π«Ά
Definition at line 94 of file dlaruv.f.
π€ Author π€
Generated automatically by Doxygen for LAPACK from the source code. π
Alright bestie, thatβs the whole page. Footer vibe check: LAPACK, Version 3.12.0, source/man-page SRC/dlaruv.f(3). The original footer doesnβt list a separate date, so weβre not inventing one β facts only on this page, periodt. πβ¨
π¦ 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