NuMFor 9f2ab49 (2024-04-08)
Numerical (Modern) Fortran. Library for Simple Numerical computing
|
Modules | |
module | exponential |
Exponential random distribution The exponential probability distribution located at and mean , is given by. | |
module | gauss |
Normal random distribution The normal probability distribution located at and standard deviation , is given by. | |
module | uniform |
Uniform Random distribution Description: randist. | |
Data Types | |
interface | random_normal |
Fills a scalar or array with random numbers following a normal (gaussian) distribution. More... | |
interface gauss::random_normal |
Fills a scalar or array with random numbers following a normal (gaussian) distribution.
The general signature is call random_normal([[loc,] scale,] x)
where the center loc
= and the scale
= are optional, and x
may be a scalar, vector (1D array), matrix (2D array), 3D-array, 4D-array, or 5D-array.
The following uses are all valid, except the last one