23 #ifndef _GR_ROTATOR_H_ 24 #define _GR_ROTATOR_H_ 28 #include <volk/volk.h> 39 unsigned int d_counter;
42 rotator() : d_phase(1), d_phase_incr(1), d_counter(0) {}
52 d_phase *= d_phase_incr;
54 if ((d_counter % 512) == 0)
63 volk_32fc_s32fc_x2_rotator_32fc(out, in, d_phase_incr, &d_phase, n);
void rotateN(gr_complex *out, const gr_complex *in, int n)
Definition: rotator.h:61
void set_phase_incr(gr_complex incr)
Definition: rotator.h:45
void set_phase(gr_complex phase)
Definition: rotator.h:44
gr_complex rotate(gr_complex in)
Definition: rotator.h:47
std::complex< float > gr_complex
Definition: gr_complex.h:27
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
rotator()
Definition: rotator.h:42