larnv(3)
π
larnv(3) β random vector, Library Functions Manual π
okay bestie, welcome to the larnv(3) page β it's literally the random-vector page and it comes in four fabulous Fortran flavors. no cap. π
π NAME π
larnv β larnv: random vector.
That's it, that's the name, and it ate. π
πΈ SYNOPSIS πΈ
π Functions π
clarnvβCLARNVreturns a vector of random numbers from a uniform or normal distribution.dlarnvβDLARNVreturns a vector of random numbers from a uniform or normal distribution.slarnvβSLARNVreturns a vector of random numbers from a uniform or normal distribution.zlarnvβZLARNVreturns a vector of random numbers from a uniform or normal distribution.
subroutine clarnv (idist, iseed, n, x)
subroutine dlarnv (idist, iseed, n, x)
subroutine slarnv (idist, iseed, n, x)
subroutine zlarnv (idist, iseed, n, x)
π¦ DETAILED DESCRIPTION π¦
okay so the full breakdown is right below in Function Documentation, bestie β no thoughts, just routines, seeds, and random-number glam. β¨
β¨ FUNCTION DOCUMENTATION β¨
π clarnv π
subroutine clarnv (integer idist, integer, dimension( 4 ) iseed, integer n,
complex, dimension( * ) x)
Purpose: CLARNV returns a vector of n random complex numbers from a uniform or normal distribution. iconic behavior. π¦
Parameters:
IDISTβINTEGER. Specifies the distribution of the random numbers:= 1: real and imaginary parts each uniform(0,1)= 2: real and imaginary parts each uniform(-1,1)= 3: real and imaginary parts each normal(0,1)= 4: uniformly distributed on the discabs(z) < 1= 5: uniformly distributed on the circleabs(z) = 1
ISEEDβINTEGERarray, dimension(4). On entry, 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βINTEGER. The number of random numbers to be generated.XβCOMPLEXarray, dimension(N). The generated random numbers.
bestie, please clock the seed rules: elements between0and4095, andISEED(4)must be odd. the random-number gods said what they said. π
Author: Univ. of Tennessee Β· Univ. of California Berkeley Β· Univ. of Colorado Denver Β· NAG Ltd.
Further Details: This routine calls the auxiliary routine SLARUV 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.
Definition at line 98 of file clarnv.f.
π dlarnv π
subroutine dlarnv (integer idist, integer, dimension( 4 ) iseed, integer n,
double precision, dimension( * ) x)
Purpose: DLARNV returns a vector of n random real numbers from a uniform or normal distribution. slay. β¨
Parameters:
IDISTβINTEGER. Specifies the distribution of the random numbers:= 1: uniform(0,1)= 2: uniform(-1,1)= 3: normal(0,1)
ISEEDβINTEGERarray, dimension(4). On entry, 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βINTEGER. The number of random numbers to be generated.XβDOUBLE PRECISIONarray, 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.
Definition at line 96 of file dlarnv.f.
π slarnv π
subroutine slarnv (integer idist, integer, dimension( 4 ) iseed, integer n,
real, dimension( * ) x)
Purpose: SLARNV returns a vector of n random real numbers from a uniform or normal distribution. periodt. π«Ά
Parameters:
IDISTβINTEGER. Specifies the distribution of the random numbers:= 1: uniform(0,1)= 2: uniform(-1,1)= 3: normal(0,1)
ISEEDβINTEGERarray, dimension(4). On entry, 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βINTEGER. The number of random numbers to be generated.XβREALarray, 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 SLARUV 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.
Definition at line 96 of file slarnv.f.
π¦ zlarnv π¦
subroutine zlarnv (integer idist, integer, dimension( 4 ) iseed, integer n,
complex*16, dimension( * ) x)
Purpose: ZLARNV returns a vector of n random complex numbers from a uniform or normal distribution. main character energy fr fr. π
Parameters:
IDISTβINTEGER. Specifies the distribution of the random numbers:= 1: real and imaginary parts each uniform(0,1)= 2: real and imaginary parts each uniform(-1,1)= 3: real and imaginary parts each normal(0,1)= 4: uniformly distributed on the discabs(z) < 1= 5: uniformly distributed on the circleabs(z) = 1
ISEEDβINTEGERarray, dimension(4). On entry, 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βINTEGER. The number of random numbers to be generated.XβCOMPLEX*16array, 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.
ngl, thezlarnvfurther-details line saysDLARUV, and we are keeping it exactly as written. iykyk. π
Definition at line 98 of file zlarnv.f.
π«Ά AUTHOR π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
π okay that's the whole larnv(3) page, bestie β LAPACK Version 3.12.0, source says LAPACK, and the vibes are immaculate. bye! π
π¦ 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