Takes an input unsorted integer array and returns a new array of sorted, unique values (DP version)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=DP), | intent(in), | dimension(:) | :: | input_array |
Unsorted input array |
|
| real(kind=DP), | intent(out), | dimension(:), allocatable | :: | output_array |
Sorted array of unique values |
|
| integer(kind=I4B), | intent(out), | dimension(:), allocatable | :: | index_map |
An array of the same size as input_array that such that any for any index i, |
Takes an input unsorted integer array and returns a new array of sorted, unique values (I4B version)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I4B), | intent(in), | dimension(:) | :: | input_array |
Unsorted input array |
|
| integer(kind=I4B), | intent(out), | dimension(:), allocatable | :: | output_array |
Sorted array of unique values |
|
| integer(kind=I4B), | intent(out), | dimension(:), allocatable | :: | index_map |
An array of the same size as input_array that such that any for any index i, |