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
104 template <
typename number>
106 const std::vector<double> &
y_values,
107 const unsigned int n_intervals,
114 template <
typename number>
116 const unsigned int n_intervals,
149 "Your input argument to this function does not appear to " 150 "have any data in it.");
156 <<
"The two array sizes " << arg1 <<
" and " << arg2
157 <<
" must match, but don't.");
163 <<
"The given name <" << arg1
164 <<
"> does not match any of the known formats.");
211 template <
typename number>
229 DEAL_II_NAMESPACE_CLOSE
std::vector< std::vector< Interval > > intervals
Interval(const double left_point, const double right_point)
DeclException1(ExcInvalidName, std::string,<< "The given name <"<< arg1<< "> does not match any of the known formats.")
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)
void write_gnuplot(std::ostream &out) const
static bool logarithmic_less(const number n1, const number n2)
std::size_t memory_consumption() const
DeclExceptionMsg(ExcEmptyData, "Your input argument to this function does not appear to " "have any data in it.")
std::vector< double > y_values
DeclException2(ExcIncompatibleArraySize, int, int,<< "The two array sizes "<< arg1<< " and "<< arg2<< " must match, but don't.")
static IntervalSpacing parse_interval_spacing(const std::string &name)
static std::string get_interval_spacing_names()