15#ifndef dealii_histogram_h
16#define dealii_histogram_h
112 template <
typename number>
115 const std::vector<double> &
y_values,
116 const unsigned int n_intervals,
123 template <
typename number>
126 const unsigned int n_intervals,
163 "Your input argument to this function does not appear to "
164 "have any data in it.");
171 <<
"The two array sizes " << arg1 <<
" and " << arg2
172 <<
" must match, but don't.");
178 <<
"The given name <" << arg1
179 <<
"> does not match any of the known formats.");
226 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