16 #ifndef dealii_histogram_h 17 #define dealii_histogram_h 20 #include <deal.II/base/config.h> 21 #include <deal.II/base/exceptions.h> 22 #include <deal.II/lac/vector.h> 26 DEAL_II_NAMESPACE_OPEN
111 template <
typename number>
113 const std::vector<double> &
y_values,
114 const unsigned int n_intervals,
121 template <
typename number>
123 const unsigned int n_intervals,
156 "Your input argument to this function does not appear to " 157 "have any data in it.");
163 <<
"The two array sizes " << arg1 <<
" and " << arg2
164 <<
" must match, but don't.");
170 <<
"The given name <" << arg1
171 <<
"> does not match any of the known formats.");
218 template <
typename number>
236 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)
std::size_t memory_consumption() const
#define DeclException1(Exception1, type1, outsequence)
void evaluate(const std::vector< Vector< number > > &values, const std::vector< double > &y_values, const unsigned int n_intervals, const IntervalSpacing interval_spacing=linear)
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()