FORCES
FORtran lib for Comp. Env. Sys.
|
Gives the indeces that would sort an array in ascending order. More...
Public Member Functions | |
integer(i4) function, dimension(size(arr)) | sort_index_dp (arr) |
integer(i4) function, dimension(size(arr)) | sort_index_sp (arr) |
integer(i4) function, dimension(size(arr)) | sort_index_i4 (arr) |
Gives the indeces that would sort an array in ascending order.
[in] | real(sp/dp) :: arr(:) | Unsorted 1D-array |
Definition at line 319 of file mo_orderpack.f90.
integer(i4) function, dimension(size(arr)) mo_orderpack::sort_index::sort_index_dp | ( | real(dp), dimension(:), intent(in) | arr | ) |
Definition at line 738 of file mo_orderpack.f90.
integer(i4) function, dimension(size(arr)) mo_orderpack::sort_index::sort_index_i4 | ( | integer(i4), dimension(:), intent(in) | arr | ) |
Definition at line 760 of file mo_orderpack.f90.
integer(i4) function, dimension(size(arr)) mo_orderpack::sort_index::sort_index_sp | ( | real(sp), dimension(:), intent(in) | arr | ) |
Definition at line 749 of file mo_orderpack.f90.