returns a new vector with val pushed to the end of the input vector.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i1), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i1), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i2), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i2), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i4), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i8), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r4), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r8), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r16), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r4), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r8), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r16), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character, | intent(in), | dimension(:), allocatable | :: | vec | ||
character, | intent(in) | :: | val |
returns a new vector with val pushed to idx of the input vector.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i1), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i1), | intent(in) | :: | val | |||
integer, | intent(in) | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i2), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i2), | intent(in) | :: | val | |||
integer, | intent(in) | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i4), | intent(in) | :: | val | |||
integer, | intent(in) | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i8), | intent(in) | :: | val | |||
integer, | intent(in) | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r4), | intent(in) | :: | val | |||
integer, | intent(in) | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r8), | intent(in) | :: | val | |||
integer, | intent(in) | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r16), | intent(in) | :: | val | |||
integer, | intent(in) | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r4), | intent(in) | :: | val | |||
integer, | intent(in) | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r8), | intent(in) | :: | val | |||
integer, | intent(in) | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r16), | intent(in) | :: | val | |||
integer, | intent(in) | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character, | intent(in), | dimension(:), allocatable | :: | vec | ||
character, | intent(in) | :: | val | |||
integer, | intent(in) | :: | idx |
returns a new vector adding val to the input vector but only if val is not already in the input vector.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i1), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i1), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i2), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i2), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i4), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i8), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r4), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r8), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r16), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r4), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r8), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r16), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character, | intent(in), | dimension(:), allocatable | :: | vec | ||
character, | intent(in) | :: | val |
returns a new vector by deleting the last element in the input vector, or if idx is provided, then delete the element at index idx
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i1), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in), | optional | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i2), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in), | optional | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in), | optional | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in), | optional | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in), | optional | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in), | optional | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in), | optional | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in), | optional | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in), | optional | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in), | optional | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character, | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in), | optional | :: | idx |
returns a new vector with val deleted from the input vector. only the first val is deleted if there are more vals in the input vector.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i1), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i1), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i2), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i2), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i4), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i8), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r4), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r8), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r16), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r4), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r8), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r16), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character, | intent(in), | dimension(:), allocatable | :: | vec | ||
character, | intent(in) | :: | val |
returns a new vector with all vals deleted from the input vector.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i1), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i1), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i2), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i2), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i4), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i8), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r4), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r8), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r16), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r4), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r8), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r16), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character, | intent(in), | dimension(:), allocatable | :: | vec | ||
character, | intent(in) | :: | val |
returns a new vector joining two input vectors.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i1), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
integer(kind=i1), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i2), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
integer(kind=i2), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
integer(kind=i4), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i8), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
integer(kind=i8), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
real(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
real(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
real(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
complex(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
complex(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
complex(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character, | intent(in), | dimension(:), allocatable | :: | vec1 | ||
character, | intent(in), | dimension(:), allocatable | :: | vec2 |
alternative to spread, it returns a new vector by replicating the elements in the input vector val times.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i1), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i2), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character, | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
returns a new vector compring the unique elements of the input vector. a faster implementation is provided for pre-sorted inputs.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i1), | intent(in), | dimension(:), allocatable | :: | vec | ||
logical, | intent(in) | :: | sorted |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i2), | intent(in), | dimension(:), allocatable | :: | vec | ||
logical, | intent(in) | :: | sorted |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in), | dimension(:), allocatable | :: | vec | ||
logical, | intent(in) | :: | sorted |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i8), | intent(in), | dimension(:), allocatable | :: | vec | ||
logical, | intent(in) | :: | sorted |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
logical, | intent(in) | :: | sorted |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
logical, | intent(in) | :: | sorted |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
logical, | intent(in) | :: | sorted |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
logical, | intent(in) | :: | sorted |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
logical, | intent(in) | :: | sorted |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
logical, | intent(in) | :: | sorted |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character, | intent(in), | dimension(:), allocatable | :: | vec | ||
logical, | intent(in) | :: | sorted |
returns a new vector reversing the elements of the input. alternative to b = a[j:k:-1]
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i1), | intent(in), | dimension(:), allocatable | :: | vec |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i2), | intent(in), | dimension(:), allocatable | :: | vec |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in), | dimension(:), allocatable | :: | vec |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i8), | intent(in), | dimension(:), allocatable | :: | vec |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character, | intent(in), | dimension(:), allocatable | :: | vec |
returns a new vector comprising every other consecutive val from the input vector. for example, every second element consecutively.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i1), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i2), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character, | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
returns a new vector, sequentially joining two other input vectors. for example, a=[1,2]; b=[3,4]; c=zip(a,b)=[1,3,2,4]
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i1), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
integer(kind=i1), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i2), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
integer(kind=i2), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
integer(kind=i4), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i8), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
integer(kind=i8), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
real(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
real(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
real(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
complex(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
complex(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec1 | ||
complex(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character, | intent(in), | dimension(:), allocatable | :: | vec1 | ||
character, | intent(in), | dimension(:), allocatable | :: | vec2 |
returns a new vector sequentially deleting every other element from the input vector using the fortran pack function.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i1), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i2), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character, | intent(in), | dimension(:), allocatable | :: | vec | ||
integer, | intent(in) | :: | val |
returns a new vector replacing elements in the input vector.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i1), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i1) | :: | val1 | ||||
integer(kind=i1) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i2), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i2) | :: | val1 | ||||
integer(kind=i2) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i4) | :: | val1 | ||||
integer(kind=i4) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i8) | :: | val1 | ||||
integer(kind=i8) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r4) | :: | val1 | ||||
real(kind=r4) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r8) | :: | val1 | ||||
real(kind=r8) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r16) | :: | val1 | ||||
real(kind=r16) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r4) | :: | val1 | ||||
complex(kind=r4) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r8) | :: | val1 | ||||
complex(kind=r8) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r16) | :: | val1 | ||||
complex(kind=r16) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character, | intent(in), | dimension(:), allocatable | :: | vec | ||
character | :: | val1 | ||||
character | :: | val2 |
returns a new vector, swapping elements in the input vector.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i1), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i1) | :: | val1 | ||||
integer(kind=i1) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i2), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i2) | :: | val1 | ||||
integer(kind=i2) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i4) | :: | val1 | ||||
integer(kind=i4) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i8), | intent(in), | dimension(:), allocatable | :: | vec | ||
integer(kind=i8) | :: | val1 | ||||
integer(kind=i8) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r4) | :: | val1 | ||||
real(kind=r4) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r8) | :: | val1 | ||||
real(kind=r8) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
real(kind=r16) | :: | val1 | ||||
real(kind=r16) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r4), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r4) | :: | val1 | ||||
complex(kind=r4) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r8), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r8) | :: | val1 | ||||
complex(kind=r8) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r16), | intent(in), | dimension(:), allocatable | :: | vec | ||
complex(kind=r16) | :: | val1 | ||||
complex(kind=r16) | :: | val2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character, | intent(in), | dimension(:), allocatable | :: | vec | ||
character | :: | val1 | ||||
character | :: | val2 |