public void Compute(double[] values) { if (values == null) throw new ArgumentNullException("values"); double[] idx = Vector.Interval(0.0, values.Length - 1, 1.0); initialize(idx, values, null); }
public void ComputeTest2() { ScatterplotView target = new ScatterplotView(); Scatterplot histogram = new Scatterplot(); histogram.Compute(new double[] { 200.0, 200.0, 200.0 }); target.DataSource = null; target.DataSource = histogram; target.DataSource = null; // ScatterplotBox.Show(histogram); }