values

fun values(values: IntArray, start: Int = 0, end: Int = values.size): IntIntMap

From an IntArray of values in the optional range start, end. Computes the Historiogram, and returns an IntIntMap mapping each different to the number of occurrences.