Generates evenly spaced numbers over a specified interval. Both end
points are included. If start
< finish
, the returned step size (if
step
is present) will be negative.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rp), | intent(in) | :: | start | Starting point |
||
real(kind=rp), | intent(in) | :: | finish | Ending point, |
||
integer, | intent(in) | :: | num | Number of values to generate, |
||
real(kind=rp), | intent(out), | dimension(:) | :: | val | ( |
|
real(kind=rp), | intent(out), | optional | :: | step | Step size |