25#ifndef INCLUDED_BLOCKS_MOVING_AVERAGE_CC_H
26#define INCLUDED_BLOCKS_MOVING_AVERAGE_CC_H
42 typedef boost::shared_ptr<moving_average_cc>
sptr;
55 unsigned int vlen = 1);
output is the moving sum of the last N samples, scaled by the scale factor
Definition: moving_average_cc.h:39
virtual int length() const =0
virtual void set_scale(gr_complex scale)=0
static sptr make(int length, gr_complex scale, int max_iter=4096, unsigned int vlen=1)
virtual void set_length_and_scale(int length, gr_complex scale)=0
virtual void set_length(int length)=0
boost::shared_ptr< moving_average_cc > sptr
Definition: moving_average_cc.h:42
virtual gr_complex scale() const =0
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
std::complex< float > gr_complex
Definition: gr_complex.h:27
Include this header to use the message passing features.
Definition: basic_block.h:45
PMT_API size_t length(const pmt_t &v)
Return the number of elements in v.