static bool allSame(float[] l) { if (empty(l)) true; float f = l[0]; for (int i = 1; i < l(l); i++) if (l[i] != f) false; true; }