NuMFor 9f2ab49 (2024-04-08)
Numerical (Modern) Fortran. Library for Simple Numerical computing
|
Functions returning a variate x with normal probability. More...
Public Member Functions | |
real(dp) function | ran_ugaussian () |
Computes a Gaussian random variate, with mean zero and standard deviation sigma = 1 | |
real(dp) function | ran_gaussian_sym (scale) |
computes a Gaussian random variate, with mean zero and standard deviation sigma | |
real(dp) function | ran_gaussian (loc, scale) |
ran_gaussian computes a Gaussian random variate, with mean zero and standard deviation sigma | |
Functions returning a variate x with normal probability.
Valid uses:
real(dp) function ran_gaussian | ( | real(dp), intent(in) | loc, |
real(dp), intent(in) | scale ) |
ran_gaussian computes a Gaussian random variate, with mean zero and standard deviation sigma
[in] | loc | Center of distribution |
[in] | scale | standard deviation |
real(dp) function ran_gaussian_sym | ( | real(dp), intent(in) | scale | ) |
computes a Gaussian random variate, with mean zero and standard deviation sigma
[in] | scale | standard deviation |
real(dp) function ran_ugaussian |
Computes a Gaussian random variate, with mean zero and standard deviation sigma = 1