24 add( static_cast<float>(
x),
25 static_cast<float>(e) );
31 add( static_cast<float>(x), -1. );
40 float wt = 1. /
sqrt(e);
65 if ( t > 0. ) { t =
sqrt(t); }
78 if ( !
mode_.empty() ) {
80 std::map<uint32_t,uint32_t>::const_iterator imap =
mode_.begin();
81 for ( ; imap !=
mode_.end(); imap++ ) {
82 if ( imap->second > max ) {
84 params.
mode_ = imap->first;
std::map< uint32_t, uint32_t > mode_
void add(const float &value, const float &weight)
std::vector< float > median_