public interface pushto
returns a new vector with val pushed to idx of the input vector.
Module Procedures
private pure function pushto_i1(vec, val, idx) result(res)
Arguments
Type | Intent | Optional | Attributes | | Name | |
integer(kind=i1), |
intent(in), |
| dimension(:), allocatable | :: |
vec | |
integer(kind=i1), |
intent(in) |
| | :: |
val | |
integer, |
intent(in) |
| | :: |
idx | |
Return Value integer(kind=i1),dimension(:), allocatable
private pure function pushto_i2(vec, val, idx) result(res)
Arguments
Type | Intent | Optional | Attributes | | Name | |
integer(kind=i2), |
intent(in), |
| dimension(:), allocatable | :: |
vec | |
integer(kind=i2), |
intent(in) |
| | :: |
val | |
integer, |
intent(in) |
| | :: |
idx | |
Return Value integer(kind=i2),dimension(:), allocatable
private pure function pushto_i4(vec, val, idx) result(res)
Arguments
Type | Intent | Optional | Attributes | | Name | |
integer(kind=i4), |
intent(in), |
| dimension(:), allocatable | :: |
vec | |
integer(kind=i4), |
intent(in) |
| | :: |
val | |
integer, |
intent(in) |
| | :: |
idx | |
Return Value integer(kind=i4),dimension(:), allocatable
private pure function pushto_i8(vec, val, idx) result(res)
Arguments
Type | Intent | Optional | Attributes | | Name | |
integer(kind=i8), |
intent(in), |
| dimension(:), allocatable | :: |
vec | |
integer(kind=i8), |
intent(in) |
| | :: |
val | |
integer, |
intent(in) |
| | :: |
idx | |
Return Value integer(kind=i8),dimension(:), allocatable
private pure function pushto_r4(vec, val, idx) result(res)
Arguments
Type | Intent | Optional | Attributes | | Name | |
real(kind=r4), |
intent(in), |
| dimension(:), allocatable | :: |
vec | |
real(kind=r4), |
intent(in) |
| | :: |
val | |
integer, |
intent(in) |
| | :: |
idx | |
Return Value real(kind=r4),dimension(:), allocatable
private pure function pushto_r8(vec, val, idx) result(res)
Arguments
Type | Intent | Optional | Attributes | | Name | |
real(kind=r8), |
intent(in), |
| dimension(:), allocatable | :: |
vec | |
real(kind=r8), |
intent(in) |
| | :: |
val | |
integer, |
intent(in) |
| | :: |
idx | |
Return Value real(kind=r8),dimension(:), allocatable
private pure function pushto_r16(vec, val, idx) result(res)
Arguments
Type | Intent | Optional | Attributes | | Name | |
real(kind=r16), |
intent(in), |
| dimension(:), allocatable | :: |
vec | |
real(kind=r16), |
intent(in) |
| | :: |
val | |
integer, |
intent(in) |
| | :: |
idx | |
Return Value real(kind=r16),dimension(:), allocatable
private pure function pushto_c4(vec, val, idx) result(res)
Arguments
Type | Intent | Optional | Attributes | | Name | |
complex(kind=r4), |
intent(in), |
| dimension(:), allocatable | :: |
vec | |
complex(kind=r4), |
intent(in) |
| | :: |
val | |
integer, |
intent(in) |
| | :: |
idx | |
Return Value complex(kind=r4),dimension(:), allocatable
private pure function pushto_c8(vec, val, idx) result(res)
Arguments
Type | Intent | Optional | Attributes | | Name | |
complex(kind=r8), |
intent(in), |
| dimension(:), allocatable | :: |
vec | |
complex(kind=r8), |
intent(in) |
| | :: |
val | |
integer, |
intent(in) |
| | :: |
idx | |
Return Value complex(kind=r8),dimension(:), allocatable
private pure function pushto_c16(vec, val, idx) result(res)
Arguments
Type | Intent | Optional | Attributes | | Name | |
complex(kind=r16), |
intent(in), |
| dimension(:), allocatable | :: |
vec | |
complex(kind=r16), |
intent(in) |
| | :: |
val | |
integer, |
intent(in) |
| | :: |
idx | |
Return Value complex(kind=r16),dimension(:), allocatable
private pure function pushto_str(vec, val, idx) result(res)
Arguments
Type | Intent | Optional | Attributes | | Name | |
character, |
intent(in), |
| dimension(:), allocatable | :: |
vec | |
character, |
intent(in) |
| | :: |
val | |
integer, |
intent(in) |
| | :: |
idx | |
Return Value character,dimension(:), allocatable