0.6.2-dev0
FORCES
FORtran lib for Comp. Env. Sys.
Loading...
Searching...
No Matches
mo_orderpack::sort_index Interface Reference

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)
 

Detailed Description

Gives the indeces that would sort an array in ascending order.

Parameters
[in]real(sp/dp) :: arr(:)Unsorted 1D-array
Returns
integer(i4) :: indices(:) — Indices that would sort arr in ascending order

Definition at line 319 of file mo_orderpack.f90.

Member Function/Subroutine Documentation

◆ sort_index_dp()

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.

◆ sort_index_i4()

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.

◆ sort_index_sp()

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.


The documentation for this interface was generated from the following file: