# triqs::statistics::histogram¶

*#include <triqs/statistics/histograms.hpp>*

class histogram

Statistical 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¶

(constructor) | |

operator<< | |

mesh_point | |

size | |

limits | |

data | |

n_data_pts | |

n_lost_pts | |

clear | |

hdf5_format | |

operator== | |

serialize |