gr::baz::keep_one_in_n
gr::block
baz_keep_one_in_n.h
boost::shared_ptr< keep_one_in_n > typedef boost::shared_ptr<keep_one_in_n> gr::baz::keep_one_in_n::sptr sptr gr::baz::keep_one_in_n::sptr
sptr static sptr gr::baz::keep_one_in_n::make (size_t itemsize, int n, bool verbose=false) make gr::baz::keep_one_in_n::make size_t itemsize int n bool verbose false

Make a keep one in n block.

itemsize

stream itemsize

n

block size in items

void virtual void gr::baz::keep_one_in_n::set_n (int n)=0 set_n gr::baz::keep_one_in_n::set_n int n

decimate a stream, keeping one item out of every `n`.

gr::baz::keep_one_in_n
gr::block
gr::baz::keep_one_in_n
gr::block
- gr::baz::keep_one_in_n
  make
- gr::baz::keep_one_in_n
  set_n
- gr::baz::keep_one_in_n
  sptr