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

Insertion sort ranking. More...

Public Member Functions

subroutine d_inssor (xdont)
 
subroutine r_inssor (xdont)
 
subroutine i_inssor (xdont)
 
subroutine c_inssor (xdont)
 

Detailed Description

Insertion sort ranking.

Sorts XVALT into increasing order (Insertion sort) This subroutine uses insertion sort. It does not use any work array and is faster when XVALT is of very small size (< 20), or already almost sorted, but worst case behavior (intially inverse sorted) can easily happen. In most cases, the quicksort or merge sort method is faster.

Parameters
[in,out]integer(i4)/real(sp,dp), dimension(:) :: XVALTArray to be ranked.

Definition at line 445 of file mo_orderpack.f90.

Member Function/Subroutine Documentation

◆ c_inssor()

subroutine mo_orderpack::inssor::c_inssor ( character(*), dimension (:), intent(inout)  xdont)

Definition at line 4068 of file mo_orderpack.f90.

◆ d_inssor()

subroutine mo_orderpack::inssor::d_inssor ( real(kind = dp), dimension (:), intent(inout)  xdont)

Definition at line 3876 of file mo_orderpack.f90.

◆ i_inssor()

subroutine mo_orderpack::inssor::i_inssor ( integer(kind = i4), dimension (:), intent(inout)  xdont)

Definition at line 4004 of file mo_orderpack.f90.

◆ r_inssor()

subroutine mo_orderpack::inssor::r_inssor ( real(kind = sp), dimension (:), intent(inout)  xdont)

Definition at line 3940 of file mo_orderpack.f90.


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