fun_ofdm  1.0
802.11a Physical Layer for USRP
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
circular_accumulator.h File Reference

Template for a circular accumulator. More...

#include <vector>

Go to the source code of this file.

Classes

struct  fun::circular_accumulator< T >
 The circular_accumulator template. More...
 

Namespaces

 fun
 

Constant Groups

 fun
 

Detailed Description

Template for a circular accumulator.

This class stores size samples of type T and keeps a running sum of the current samples. No indexing is needed, once the buffer is full each call to add() overwrites the oldest sample with the new one.

Definition in file circular_accumulator.h.