public Histogram FromData(double[] values) { var hist = new Histogram(); hist.Compute(values); return hist; }