fill_uniform Subroutine
- Seyed Ali Ghasemi
- BSD 3-Clause
- 15 statements
public pure subroutine fill_uniform(a, b, x)
Fill an existing array with inclusive uniformly spaced values.
A one-element output receives a; an empty output is unchanged.
Arguments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in) | :: | a |
First value. |
||
| real(kind=rk), | intent(in) | :: | b |
Last value when |
||
| real(kind=rk), | intent(out), | contiguous | :: | x(:) |
Caller-owned contiguous output array. |