16#ifndef dealii_histogram_h
17#define dealii_histogram_h
113 template <
typename number>
116 const std::vector<double> &
y_values,
117 const unsigned int n_intervals,
124 template <
typename number>
127 const unsigned int n_intervals,
164 "Your input argument to this function does not appear to "
165 "have any data in it.");
172 <<
"The two array sizes " << arg1 <<
" and " << arg2
173 <<
" must match, but don't.");
179 <<
"The given name <" << arg1
180 <<
"> does not match any of the known formats.");
227 template <
typename number>
void write_gnuplot(std::ostream &out) const
static std::string get_interval_spacing_names()
std::vector< double > y_values
static IntervalSpacing parse_interval_spacing(const std::string &name)
static bool logarithmic_less(const number n1, const number n2)
std::vector< std::vector< Interval > > intervals
std::size_t memory_consumption() const
void evaluate(const std::vector< Vector< number > > &values, const std::vector< double > &y_values, const unsigned int n_intervals, const IntervalSpacing interval_spacing=linear)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcInvalidName(std::string arg1)
#define DeclException2(Exception2, type1, type2, outsequence)
#define DeclExceptionMsg(Exception, defaulttext)
#define DeclException1(Exception1, type1, outsequence)
static ::ExceptionBase & ExcIncompatibleArraySize(int arg1, int arg2)
static ::ExceptionBase & ExcEmptyData()
std::size_t memory_consumption() const