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

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)
 

Detailed Description

Find N-th value in array from quicksort.

Finds out and returns the NORDth value in XVALT (ascending order). This subroutine simply calls INDNTH.

Parameters
[in]integer(i4)/real(sp,dp), dimension(:) :: XVALTArray to be ranked.
[in]integer(i4) :: NORDNumber of ranked elements.
Return values
integer(i4)/real(sp,dp) :: VALNTHValue of NORDth rank.

Definition at line 701 of file mo_orderpack.f90.

Member Function/Subroutine Documentation

◆ d_valnth()

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.

◆ i_valnth()

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.

◆ r_valnth()

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.


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