FORCES
FORtran lib for Comp. Env. Sys.
|
Find N-th value in array from quicksort. More...
Public Member Functions | |
real(kind=dp) function | d_valnth (xdont, nord) |
real(kind=sp) function | r_valnth (xdont, nord) |
integer(kind=i4) function | i_valnth (xdont, nord) |
Find N-th value in array from quicksort.
Finds out and returns the NORDth value in XVALT (ascending order). This subroutine simply calls INDNTH.
[in] | integer(i4)/real(sp,dp), dimension(:) :: XVALT | Array to be ranked. |
[in] | integer(i4) :: NORD | Number of ranked elements. |
integer(i4)/real(sp,dp) :: VALNTH | Value of NORDth rank. |
Definition at line 701 of file mo_orderpack.f90.
real(kind = dp) function mo_orderpack::valnth::d_valnth | ( | real(kind = dp), dimension (:), intent(in) | xdont, |
integer(kind = i4), intent(in) | nord | ||
) |
Definition at line 15367 of file mo_orderpack.f90.
integer(kind = i4) function mo_orderpack::valnth::i_valnth | ( | integer(kind = i4), dimension (:), intent(in) | xdont, |
integer(kind = i4), intent(in) | nord | ||
) |
Definition at line 16353 of file mo_orderpack.f90.
real(kind = sp) function mo_orderpack::valnth::r_valnth | ( | real(kind = sp), dimension (:), intent(in) | xdont, |
integer(kind = i4), intent(in) | nord | ||
) |
Definition at line 15860 of file mo_orderpack.f90.