public void set(double x) { n = 1L; Sx = x; Sx2 = x*x; }