is_sorted Interface

public interface is_sorted

Check if V is sorted.


Contents


Module Procedures

private pure function is_sorted_integer_int64(V, ascending) result(res)

Arguments

Type IntentOptional Attributes Name
integer(kind=int64), intent(in) :: V(:)
logical, intent(in), optional :: ascending

Return Value logical

private pure function is_sorted_integer_int32(V, ascending) result(res)

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: V(:)
logical, intent(in), optional :: ascending

Return Value logical

private pure function is_sorted_real_sp(V, ascending) result(res)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in) :: V(:)
logical, intent(in), optional :: ascending

Return Value logical

private pure function is_sorted_real_dp(V, ascending) result(res)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: V(:)
logical, intent(in), optional :: ascending

Return Value logical