52 double _min,
double _max) {
69 std::ofstream of(fname.c_str());
72 double half_int = 0.5 * bucket_interval;
75 double mid =
min + half_int + ((double) i) * bucket_interval;
76 if(
table[i] != 0) of << boost::format(
"%d %g %d\n") % i % mid %
table[i];
void updateTable(double v)
double recip_bucket_interval
Histogram(unsigned int _num_buckets, double _min, double _max)
Constructor for the histogram.
A generic histogram widget.
void writeTable(const std::string &fname)