NuMFor 9f2ab49 (2024-04-08)
Numerical (Modern) Fortran. Library for Simple Numerical computing
|
Uniform Random distributions Fills a scalar or array with random numbers in the half-open interval [0, 1). More...
Uniform Random distributions Fills a scalar or array with random numbers in the half-open interval [0, 1).
The signature is call random_sample(x)
where x
may be a scalar, vector (1D array), matrix (2D array), 3D-array, 4D-array, or 5D-array.
To sample uniformly over with , multiply the output of random_sample by and add :