Returns a random vector from a uniform distribution.
If a block_size > 0
is provided, it fills rv
in blocks of
size block_size
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rp), | intent(in) | :: | lb | Lower bound |
||
real(kind=rp), | intent(in) | :: | ub | Upper bound |
||
real(kind=rp), | intent(out), | dimension(:) | :: | rv | ||
integer(kind=ip), | intent(in), | optional | :: | block_size |