Tomographer  v1.0a
Tomographer C++ Framework Documentation
histogram.h File Reference

(v1.0a)

Definitions for Histogram Types. More...

#include <cmath>
#include <cstdlib>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <stdexcept>
#include <type_traits>
#include <boost/math/constants/constants.hpp>
#include <Eigen/Core>
#include <tomographer/tools/fmt.h>
#include <tomographer/qit/util.h>
+ Include dependency graph for histogram.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Tomographer::UniformBinsHistogram< Scalar_, CountType_ >
 Stores a histogram. More...
 
struct  Tomographer::UniformBinsHistogram< Scalar_, CountType_ >::Params
 The parameters of a UniformBinsHistogram. More...
 
struct  Tomographer::UniformBinsHistogramWithErrorBars< Scalar_, CountType_ >
 Stores a histogram along with error bars. More...
 
struct  Tomographer::AveragedHistogram< HistogramType_, RealAvgType >
 Combines several histograms (with same parameters) into an averaged histogram. More...
 

Namespaces

 Tomographer
 Base namespace for the Tomographer project.
 

Functions

template<typename HistogramType >
void Tomographer::histogram_pretty_print (std::ostream &str, const HistogramType &histogram, int max_width=0)
 pretty-print the given histogram. More...
 
template<typename HistogramType >
std::string Tomographer::histogram_pretty_print (const HistogramType &histogram, int max_width=0)
 Utility to display histograms for humans. More...
 
template<typename HistogramType >
int Tomographer::histogram_short_bar (std::ostream &str, const HistogramType &histogram, bool log_scale=true, int max_width=0)
 Format the histogram as a one-line bar. More...
 
template<typename HistogramType >
std::string Tomographer::histogram_short_bar (const HistogramType &histogram, bool log_scale=true, int max_width=0)
 Format the histogram as a one-line bar. More...
 

Detailed Description

Definitions for Histogram Types.

See also the Histogram Interface.

Definition in file histogram.h.