uniq Module Function

public pure module function uniq(arr) result(res)

Returns the unique elements of arr

Arguments

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

Return Value integer, allocatable, (:)