public interface sort_ascending
Sorts an array in increasing order.
Uses a basic recursive quicksort
(with insertion sort for partitions with 20 elements).
Replaces the original array.
Module Procedures
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
class(item),
|
intent(inout), |
|
dimension(:)
|
:: |
vec |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
integer(kind=int32),
|
intent(inout), |
|
dimension(:)
|
:: |
vec |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
integer(kind=int64),
|
intent(inout), |
|
dimension(:)
|
:: |
vec |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=real64),
|
intent(inout), |
|
dimension(:)
|
:: |
vec |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=real32),
|
intent(inout), |
|
dimension(:)
|
:: |
vec |
|