triqs::statistics::histogram::constructor

#include <triqs/statistics/histogram.hpp>

Synopsis

  1. histogram (int a, int b)
  2. histogram (double a, double b, long n_bins)
  3. histogram ()

Documentation

1) Constructor

Constructs a histogram over \([a; b]\) range with bin length equal to 1.

2) Constructor

Constructs a histogram over \([a; b]\) range with a given number of bins.

3) Default constructor

Parameters

  • a Left end of the sampling range
  • b Right end of the sampling range
  • n_bins Number of bins