MCPcopy Create free account
hub / github.com/dhale/jtk / quickIndexSort

Method quickIndexSort

core/src/main/java/edu/mines/jtk/util/ArrayMath.java:8610–8618  ·  view source on GitHub ↗

Sorts indices of the elements of the specified array in ascending order. After sorting, a[i[0]] <= a[i[1]] <= a[i[2]] <= .... @param a the array. @param i the indices to be sorted.

(byte[] a, int[] i)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

sortAndCheckMethod · 0.80
testWeightedMethod · 0.80
addPackedMethod · 0.80
gridMethod · 0.80
gridMethod · 0.80

Calls 2

insertionSortMethod · 0.95
quickSortMethod · 0.95

Tested by 2

sortAndCheckMethod · 0.64
testWeightedMethod · 0.64