21 #ifndef mia_core_fullstats_hh
22 #define mia_core_fullstats_hh
49 template <
typename InputIterator>
50 CFullStats(InputIterator begin, InputIterator end);
53 void print(std::ostream& os)
const;
67 typedef std::vector<double> Vector;
68 void evaluate(Vector& tmp);
76 template <
typename InputIterator>
86 while (begin != end) {
94 m_sigma += *begin * *begin;
95 tmp.push_back(*begin);
This class is used to evaluate the statistics of a series of input data.
void print(std::ostream &os) const
Print the statistics to some output file.
CFullStats(InputIterator begin, InputIterator end)
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
#define EXPORT_CORE
Macro to manage Visual C++ style dllimport/dllexport.
#define NS_MIA_END
conveniance define to end the mia namespace
std::ostream & operator<<(std::ostream &os, const CFullStats &stats)