Sorts an integer array ivec
in increasing order.
Uses a basic recursive quicksort
(with insertion sort for partitions with 20 elements).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(inout), | dimension(:) | :: | ivec |
Sorts a real array ivec
in increasing order.
Uses a basic recursive quicksort
(with insertion sort for partitions with 20 elements).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(inout), | dimension(:) | :: | ivec |