MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / swap

Method swap

JSAT/src/jsat/utils/QuickSort.java:72–77  ·  view source on GitHub ↗
(double[] array, int i, int j)

Source from the content-addressed store, hash-verified

70 }
71
72 public static void swap(double[] array, int i, int j)
73 {
74 double tmp = array[i];
75 array[i] = array[j];
76 array[j] = tmp;
77 }
78
79 public static void swap(float[] array, int i, int j)
80 {

Callers 3

vecswapMethod · 0.95
sortMethod · 0.95
insertionSortMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected