Rearrange a single array of character string in-place from an index list.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=STRMAX), | intent(inout), | dimension(:), allocatable | :: | arr | Destination array |
|
| integer(kind=I4B), | intent(in), | dimension(:) | :: | ind | Index to rearrange against |
|
| integer(kind=I4B), | intent(in) | :: | n | Number of elements in arr and ind to rearrange |
Rearrange a single array of DP type in-place from an index list.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=DP), | intent(inout), | dimension(:), allocatable | :: | arr | Destination array |
|
| integer(kind=I4B), | intent(in), | dimension(:) | :: | ind | Index to rearrange against |
|
| integer(kind=I4B), | intent(in) | :: | n | Number of elements in arr and ind to rearrange |
Rearrange a single array of (NDIM,n) DP-type vectors in-place from an index list.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=DP), | intent(inout), | dimension(:,:), allocatable | :: | arr | Destination array |
|
| integer(kind=I4B), | intent(in), | dimension(:) | :: | ind | Index to rearrange against |
|
| integer(kind=I4B), | intent(in) | :: | n | Number of elements in arr and ind to rearrange |
Rearrange a single array of integers in-place from an index list.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I4B), | intent(inout), | dimension(:), allocatable | :: | arr | Destination array |
|
| integer(kind=I4B), | intent(in), | dimension(:) | :: | ind | Index to rearrange against |
|
| integer(kind=I4B), | intent(in) | :: | n | Number of elements in arr and ind to rearrange |
Rearrange a single array of integers in-place from an index list.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I4B), | intent(inout), | dimension(:), allocatable | :: | arr | Destination array |
|
| integer(kind=I8B), | intent(in), | dimension(:) | :: | ind | Index to rearrange against |
|
| integer(kind=I8B), | intent(in) | :: | n | Number of elements in arr and ind to rearrange |
Rearrange a single array of logicals in-place from an index list.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(inout), | dimension(:), allocatable | :: | arr | Destination array |
|
| integer(kind=I4B), | intent(in), | dimension(:) | :: | ind | Index to rearrange against |
|
| integer(kind=I4B), | intent(in) | :: | n | Number of elements in arr and ind to rearrange |
Rearrange a single array of logicals in-place from an index list.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(inout), | dimension(:), allocatable | :: | arr | Destination array |
|
| integer(kind=I8B), | intent(in), | dimension(:) | :: | ind | Index to rearrange against |
|
| integer(kind=I8B), | intent(in) | :: | n | Number of elements in arr and ind to rearrange |