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

Method vecswap

JSAT/src/jsat/utils/QuickSort.java:39–43  ·  view source on GitHub ↗
(double[] x, int a, int b, int n)

Source from the content-addressed store, hash-verified

37 }
38
39 protected static void vecswap(double[] x, int a, int b, int n)
40 {
41 for (int i = 0; i < n; i++)
42 swap(x, a++, b++);
43 }
44
45 protected static void vecswap(float[] x, int a, int b, int n)
46 {

Callers 1

sortMethod · 0.95

Calls 1

swapMethod · 0.95

Tested by

no test coverage detected