17 #ifndef __deal2__histogram_h
18 #define __deal2__histogram_h
21 #include <deal.II/base/config.h>
23 #include <deal.II/lac/vector.h>
120 template <
typename number>
122 const std::vector<double> &
y_values,
123 const unsigned int n_intervals,
131 template <
typename number>
133 const unsigned int n_intervals,
185 <<
"The two array sizes " << arg1 <<
" and " << arg2
186 <<
" must match, but don't.");
192 <<
"The given name <" << arg1
193 <<
"> does not match any of the known formats.");
251 template <
typename number>
271 DEAL_II_NAMESPACE_CLOSE
std::vector< std::vector< Interval > > intervals
void write_gnuplot(std::ostream &out) const
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.")
static std::string get_interval_spacing_names()
DeclException0(ExcEmptyData)
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)
static IntervalSpacing parse_interval_spacing(const std::string &name)
std::size_t memory_consumption() const
std::vector< double > y_values
static bool logarithmic_less(const number n1, const number n2)
DeclException2(ExcIncompatibleArraySize, int, int,<< "The two array sizes "<< arg1<< " and "<< arg2<< " must match, but don't.")