16 #ifndef dealii_histogram_h 17 #define dealii_histogram_h 20 #include <deal.II/base/config.h> 22 #include <deal.II/base/exceptions.h> 24 #include <deal.II/lac/vector.h> 29 DEAL_II_NAMESPACE_OPEN
114 template <
typename number>
117 const std::vector<double> &
y_values,
118 const unsigned int n_intervals,
125 template <
typename number>
128 const unsigned int n_intervals,
165 "Your input argument to this function does not appear to " 166 "have any data in it.");
173 <<
"The two array sizes " << arg1 <<
" and " << arg2
174 <<
" must match, but don't.");
180 <<
"The given name <" << arg1
181 <<
"> does not match any of the known formats.");
228 template <
typename number>
246 DEAL_II_NAMESPACE_CLOSE
std::vector< std::vector< Interval > > intervals
#define DeclException2(Exception2, type1, type2, outsequence)
static ::ExceptionBase & ExcInvalidName(std::string arg1)
Interval(const double left_point, const double right_point)
static ::ExceptionBase & ExcIncompatibleArraySize(int arg1, int arg2)
void evaluate(const std::vector< Vector< number >> &values, const std::vector< double > &y_values, const unsigned int n_intervals, const IntervalSpacing interval_spacing=linear)
std::size_t memory_consumption() const
#define DeclException1(Exception1, type1, outsequence)
void write_gnuplot(std::ostream &out) const
#define DeclExceptionMsg(Exception, defaulttext)
static bool logarithmic_less(const number n1, const number n2)
std::size_t memory_consumption() const
std::vector< double > y_values
static IntervalSpacing parse_interval_spacing(const std::string &name)
static ::ExceptionBase & ExcEmptyData()
static std::string get_interval_spacing_names()