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