(double[] x, int a, int b, int c)
| 23 | } |
| 24 | |
| 25 | private static int med3(double[] x, int a, int b, int c) |
| 26 | { |
| 27 | return (x[a] < x[b] |
| 28 | ? (x[b] < x[c] ? b : x[a] < x[c] ? c : a) |
| 29 | : (x[b] > x[c] ? b : x[a] > x[c] ? c : a)); |
| 30 | } |
| 31 | |
| 32 | private static int med3(float[] x, int a, int b, int c) |
| 33 | { |