module implementing merge sort algorithm
sorts array argument
sorts integer array A
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(inout) | :: | a(:) |
returns the indices that sorts the array
arg sorts integer array A
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(inout) | :: | a(:) | |||
| integer, | intent(inout) | :: | idx(size(a,1)) |
arg sorts integer array A
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=long), | intent(inout) | :: | a(:) | |||
| integer, | intent(inout) | :: | idx(size(a,1)) |
sorts integer array A
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(inout) | :: | a(:) |
arg sorts integer array A
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(inout) | :: | a(:) | |||
| integer, | intent(inout) | :: | idx(size(a,1)) |
arg sorts integer array A
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=long), | intent(inout) | :: | a(:) | |||
| integer, | intent(inout) | :: | idx(size(a,1)) |