DLARNV(3)
π NAME
ok so bestie, this is the manual for /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlarnv.f β yes that is literally the whole name, it's giving "full government name on the birth certificate" energy π but that's what the page says so we're keeping it, periodt.
β¨ SYNOPSIS
Functions/Subroutines
subroutine DLARNV (idist, iseed, n, x)β DLARNV returns a vector of random numbers from a uniform or normal distribution. that's it, that's the vibe π²
π¦ Function/Subroutine Documentation
subroutine DLARNV (integer idist, integer, dimension( 4 ) iseed, integer n,
double precision, dimension( * ) x)
DLARNV returns a vector of random numbers from a uniform or normal distribution. no cap, that's literally her whole job π
π Purpose:
!>
!> DLARNV returns a vector of n random real numbers from a uniform or
!> normal distribution.
!>
so you hand her n, she hands you n random real numbers, and the distribution is whatever you asked for. icon behavior honestly π
πΈ Parameters
IDIST
!> IDIST is INTEGER
!> Specifies the distribution of the random numbers:
!> = 1: uniform (0,1)
!> = 2: uniform (-1,1)
!> = 3: normal (0,1)
!>
bestie this is the flavor selector π β IDIST is an INTEGER and it tells her which distribution you want:
= 1:β uniform(0,1)= 2:β uniform(-1,1)= 3:β normal(0,1)
ISEED
!> ISEED is INTEGER array, dimension (4)
!> On entry, 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.
!>
ISEED is an INTEGER array with dimension (4). On entry, it's the seed of the random number generator β and the rules are strict bestie, no negotiating: every element must be between 0 and 4095, and ISEED(4) must be odd π don't fight her on this. On exit, the seed is updated, so you can chain calls together like the main character you are β¨
N
!> N is INTEGER
!> The number of random numbers to be generated.
!>
N is an INTEGER, aka how many random numbers you want. that's the whole description, she's very direct π―
X
!> X is DOUBLE PRECISION array, dimension (N)
!> The generated random numbers.
!>
X is a DOUBLE PRECISION array, dimension (N), and it catches the generated random numbers on her way out π«Ά
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole friend group co-signed this one, we love a collaborative slay π
β Further Details:
!>
!> This routine calls the auxiliary routine DLARUV to generate random
!> real numbers from a uniform (0,1) distribution, in batches of up to
!> 128 using vectorisable code. The Box-Muller method is used to
!> transform numbers from a uniform to a normal distribution.
!>
ok so the lore π§: this routine calls the auxiliary routine DLARUV to generate random real numbers from a uniform (0,1) distribution, in batches of up to 128 using vectorisable code. and for the normal girlies, the Box-Muller method is used to transform numbers from a uniform to a normal distribution. math ate, honestly π₯
Definition at line 96 of file dlarnv.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code. (not a human, just a very diligent little robot π)
okay that's the whole page bestie, go forth and generate random numbers responsibly β¨π πΈ
sign-off szn: this little love letter is from LAPACK, Version 3.12.0, and it lives at /home/abui...RC/dlarnv.f(3) β mwah, bye π«Άπ
π¦ 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