triqs::stat::histogram
#include <triqs/stat.hpp>
class histogram
This class serves to sample a continuous random variable, and to ‘bin’ it. It divides a given range of real values into a series of equal intervals, and counts amounts of samples falling into each interval. The histogram keeps track of the total number of the sampled values, as well as of the lost samples that lie outside the chosen range.
Member functions
Bin a real value into the histogram |
|
Get position of bin’s center |
|
Get number of histogram bins |
|
Get boundaries of the histogram |
|
Read-only access to the data storage |
|
Get number of accumulated samples |
|
Get number of discarded samples |
|
Reset all histogram values to 0 |
|
Get HDF5 format name |
|
Non Member functions
Addition of histograms |
|
MPI-broadcast histogram |
|
MPI-reduce histogram |
|
Write histogram to HDF5 |
|
Read histogram form HDF5 |
|
Output stream insertion |