argsort Interface

public interface argsort

argsort generates the indices that would sort an array.


Contents


Functions

private module function argsort_dp(x, order)

Arguments

Type IntentOptional AttributesName
real(kind=dp), intent(in) :: x(:)
integer, intent(in), optional :: order

Return Value integer, allocatable, (:)

private module function argsort_int16(x, order)

Arguments

Type IntentOptional AttributesName
integer(kind=int16), intent(in) :: x(:)
integer, intent(in), optional :: order

Return Value integer, allocatable, (:)

private module function argsort_int32(x, order)

Arguments

Type IntentOptional AttributesName
integer(kind=int32), intent(in) :: x(:)
integer, intent(in), optional :: order

Return Value integer, allocatable, (:)

private module function argsort_int64(x, order)

Arguments

Type IntentOptional AttributesName
integer(kind=int64), intent(in) :: x(:)
integer, intent(in), optional :: order

Return Value integer, allocatable, (:)

private module function argsort_int8(x, order)

Arguments

Type IntentOptional AttributesName
integer(kind=int8), intent(in) :: x(:)
integer, intent(in), optional :: order

Return Value integer, allocatable, (:)

private module function argsort_sp(x, order)

Arguments

Type IntentOptional AttributesName
real(kind=sp), intent(in) :: x(:)
integer, intent(in), optional :: order

Return Value integer, allocatable, (:)