SRC/dlarnv.f(3)
π SRC/dlarnv.f(3) π
okay bestie, this page comes from the Library Functions Manual, and itβs all about DLARNV β the LAPACK baddie that hands you random numbers π
. No cap, every detail is right here.
β¨ NAME β¨
SRC/dlarnv.f β literally the file, bestie. Thatβs the name π.
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine dlarnv (idist, iseed, n, x)βDLARNVreturns a vector of random numbers from a uniform or normal distribution. slay.
π§ 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. iconic behavior fr fr β¨
π Purpose π
DLARNV returns a vector of n random real numbers from a uniform or normal distribution.
π Parameters π
IDISTβIDIST is INTEGER. It specifies the distribution of the random numbers:
= 1: uniform (0,1)
= 2: uniform (-1,1)
= 3: normal (0,1)
ISEEDβISEED is INTEGER array, dimension (4). On entry, this is the seed of the random number generator; the array elements must be between0and4095, andISEED(4)must be odd. On exit, the seed is updated. periodt π«ΆNβN is INTEGER. The number of random numbers to be generated.XβX is DOUBLE PRECISION array, dimension (N). The generated random numbers.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π 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. no cap, thatβs the whole vibe π₯
Definition at line 96 of file dlarnv.f.
π Author (automated edition) π
Generated automatically by Doxygen for LAPACK from the source code.
mwah π this cutie is from LAPACK Version 3.12.0, SRC/dlarnv.f(3) β and yes, she ate πβ¨
π¦ 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