frequency Function

public pure function frequency(N) result(res)

! Count the frequency of numbers in the array.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: N(:)

Return Value integer, allocatable, (:)