SLARUV(3)
๐ฆ 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โISEEDisINTEGERarray, dimension(4). On entry, it's the seed of the random number generator; the array elements must be between0and4095, andISEED(4)must be odd. On exit, the seed is updated. ๐NโNisINTEGER. It's the number of random numbers to be generated.N <= 128. ๐ขXโXisREALarray, 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
- 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