Return a uniform random variable from min (inclusive) to max (inclusive for integer functions, exclusive for real)
Return a uniform random variable [min, max)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(in) | :: | min | , inclusive |
||
| real(kind=real32), | intent(in) | :: | max | , exclusive |
Return a uniform random variable [min, max)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | min | , inclusive |
||
| real(kind=real64), | intent(in) | :: | max | , exclusive |
Return a uniform random variable [min, max]
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | min | , inclusive |
||
| integer(kind=int32), | intent(in) | :: | max | , inclusive |
Return a uniform random variable [min, max]
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int64), | intent(in) | :: | min | , inclusive |
||
| integer(kind=int64), | intent(in) | :: | max | , inclusive |