Go to the documentation of this file.
20 #ifndef LIBMESH_STATISTICS_H
21 #define LIBMESH_STATISTICS_H
24 #include "libmesh/libmesh_common.h"
25 #include "libmesh/id_types.h"
181 virtual void histogram (std::vector<dof_id_type> & bin_members,
182 unsigned int n_bins=10);
192 const std::string & filename,
193 unsigned int n_bins);
198 virtual void histogram (std::vector<dof_id_type> & bin_members,
199 unsigned int n_bins=10)
const;
221 #endif // LIBMESH_STATISTICS_H
virtual ~StatisticsVector()
Destructor.
virtual Real l2_norm() const
virtual std::vector< dof_id_type > cut_above(Real cut) const
The libMesh namespace provides an interface to certain functionality in the library.
void plot_histogram(const processor_id_type my_procid, const std::string &filename, unsigned int n_bins)
Generates a Matlab/Octave style file which can be used to make a plot of the histogram having the des...
virtual Real variance() const
MetaPhysicL::DualNumber< T, D > sqrt(const MetaPhysicL::DualNumber< T, D > &in)
virtual Real mean() const
virtual void histogram(std::vector< dof_id_type > &bin_members, unsigned int n_bins=10)
StatisticsVector(dof_id_type i, T val)
Call the std::vector constructor, fill each entry with val.
virtual std::vector< dof_id_type > cut_below(Real cut) const
void normalize()
Divides all entries by the largest entry and stores the result.
uint8_t processor_id_type
virtual Real stddev() const
StatisticsVector(dof_id_type i=0)
Call the std::vector constructor.
virtual Real stddev(const Real known_mean) const
virtual T minimum() const
The StatisticsVector class is derived from the std::vector<> and therefore has all of its useful feat...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual T maximum() const