24#ifndef MOVING_AVERAGE_H
25#define MOVING_AVERAGE_H
43 typedef boost::shared_ptr<moving_average<T>>
sptr;
54 static sptr make(
int length, T scale,
int max_iter = 4096,
unsigned int vlen = 1);
output is the moving sum of the last N samples, scaled by the scale factor
Definition moving_average.h:40
virtual void set_length_and_scale(int length, T scale)=0
virtual int length() const =0
virtual void set_length(int length)=0
static sptr make(int length, T scale, int max_iter=4096, unsigned int vlen=1)
virtual void set_scale(T scale)=0
virtual T scale() const =0
boost::shared_ptr< moving_average< T > > sptr
Definition moving_average.h:43
synchronous 1:1 input to output with history
Definition sync_block.h:38
#define BLOCKS_API
Definition gr-blocks/include/gnuradio/blocks/api.h:30
moving_average< std::int32_t > moving_average_ii
Definition moving_average.h:83
moving_average< gr_complex > moving_average_cc
Definition moving_average.h:85
moving_average< float > moving_average_ff
Definition moving_average.h:84
moving_average< std::int16_t > moving_average_ss
Definition moving_average.h:82
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition basic_block.h:46