Functor to be called by mia::filter to evaluate median and median average distance (MAD) of a series of data. More...
#include <mia/core/statistics.hh>
Public Types | |
typedef TFilter< std::pair< double, double > >::result_type | result_type |
Public Types inherited from TFilter< std::pair< double, double > > | |
typedef std::pair< double, double > | result_type |
defines the return type of the filter function More... | |
Public Member Functions | |
template<typename T > | |
result_type | operator() (const T &data) const |
Functor to be called by mia::filter to evaluate median and median average distance (MAD) of a series of data.
Definition at line 60 of file statistics.hh.
typedef TFilter< std::pair<double, double> >::result_type FMedianMAD::result_type |
result type of this functor
Definition at line 66 of file statistics.hh.
FMedianMAD::result_type FMedianMAD::operator() | ( | const T & | data | ) | const |
T | container type T holding the data to be analyzed. Must provide the methods begin() and end() returning a forward_iterator; |
data | the data to be anlyzed |
Definition at line 104 of file statistics.hh.
References fabs(), and NS_MIA_END.