TESTING/MATGEN/dlarnd.f(3)
β¨ dlarnd β the random-number bestie β¨
okay so this page is TESTING/MATGEN/dlarnd.f(3), and it lives in the Library Functions Manual. itβs giving βtiny Fortran function, big main character energyβ π
πΈ NAME πΈ
TESTING/MATGEN/dlarnd.f β literally the file, bestie.
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
double precision function dlarnd (idist, iseed)βDLARNDπ
π«Ά Function/Subroutine Documentation π«Ά
double precision function dlarnd (integer idist, integer, dimension( 4 ) iseed)
DLARND
π Purpose π
DLARND returns a random real number from a uniform or normal distribution. no cap, thatβs the whole glow-up β¨
πΈ Parameters πΈ
IDISTβINTEGER. Specifies the distribution of the random numbers:= 1: uniform(0,1)= 2: uniform(-1,1)= 3: normal(0,1)
ISEEDβ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. slay, but keep it odd bestie π₯
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π₯ Further Details π₯
This routine calls the auxiliary routine DLARAN to generate a random real number from a uniform (0,1) distribution. The Box-Muller method is used to transform numbers from a uniform to a normal distribution. iconic math behavior π§
Definition at line 72 of file dlarnd.f.
π€ Author π€
Generated automatically by Doxygen for LAPACK from the source code.
cute sign-off / footer vibes: LAPACK Version 3.12.0, and the page points back to TESTING/MATGEN/dlarnd.f(3). stay random, bestie π¦β¨π
π¦ 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