Version: SMASH-3.1
average.h File Reference
#include <cassert>
#include <cstdint>
#include <sstream>
#include <stdexcept>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  smash::Average< T >
 Calculate an average value incrementally. More...
 

Namespaces

 smash
 

Functions

template<typename T >
std::pair< std::vector< T >, std::vector< T > > smash::dedup_avg (const std::vector< T > &x, const std::vector< T > &y)
 Remove duplicates from data (x, y) by averaging y. More...