public interface arange
arange
creates a one-dimensional array
of the integer/real
type
with fixed-spaced values of given spacing, within a given interval.
(Specification)
Functions
private pure module function arange_i_int16(start, end, step) result(result)
Arguments
Type | Intent | Optional | Attributes | | Name | |
integer(kind=int16), |
intent(in) |
| | :: |
start | |
integer(kind=int16), |
intent(in), |
optional | | :: |
end | |
integer(kind=int16), |
intent(in), |
optional | | :: |
step | |
Return Value integer(kind=int16),allocatable, (:)
private pure module function arange_i_int32(start, end, step) result(result)
Arguments
Type | Intent | Optional | Attributes | | Name | |
integer(kind=int32), |
intent(in) |
| | :: |
start | |
integer(kind=int32), |
intent(in), |
optional | | :: |
end | |
integer(kind=int32), |
intent(in), |
optional | | :: |
step | |
Return Value integer(kind=int32),allocatable, (:)
private pure module function arange_i_int64(start, end, step) result(result)
Arguments
Type | Intent | Optional | Attributes | | Name | |
integer(kind=int64), |
intent(in) |
| | :: |
start | |
integer(kind=int64), |
intent(in), |
optional | | :: |
end | |
integer(kind=int64), |
intent(in), |
optional | | :: |
step | |
Return Value integer(kind=int64),allocatable, (:)
private pure module function arange_i_int8(start, end, step) result(result)
Arguments
Type | Intent | Optional | Attributes | | Name | |
integer(kind=int8), |
intent(in) |
| | :: |
start | |
integer(kind=int8), |
intent(in), |
optional | | :: |
end | |
integer(kind=int8), |
intent(in), |
optional | | :: |
step | |
Return Value integer(kind=int8),allocatable, (:)
private pure module function arange_r_dp(start, end, step) result(result)
Arguments
Type | Intent | Optional | Attributes | | Name | |
real(kind=dp), |
intent(in) |
| | :: |
start | |
real(kind=dp), |
intent(in), |
optional | | :: |
end | |
real(kind=dp), |
intent(in), |
optional | | :: |
step | |
Return Value real(kind=dp),allocatable, (:)
private pure module function arange_r_sp(start, end, step) result(result)
Arguments
Type | Intent | Optional | Attributes | | Name | |
real(kind=sp), |
intent(in) |
| | :: |
start | |
real(kind=sp), |
intent(in), |
optional | | :: |
end | |
real(kind=sp), |
intent(in), |
optional | | :: |
step | |
Return Value real(kind=sp),allocatable, (:)