23 #ifndef _GR_ROTATOR_H_ 24 #define _GR_ROTATOR_H_ 39 unsigned int d_counter;
42 rotator() : d_phase(1), d_phase_incr(1), d_counter(0)
53 d_phase *= d_phase_incr;
55 if((d_counter % 512) == 0)
56 d_phase /= std::abs(d_phase);
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:46
void set_phase(gr_complex phase)
Definition: rotator.h:45
gr_complex rotate(gr_complex in)
Definition: rotator.h:48
std::complex< float > gr_complex
Definition: gr_complex.h:27
Include this header to use the message passing features.
Definition: logger.h:695
VOLK_API p_32fc_s32fc_x2_rotator_32fc volk_32fc_s32fc_x2_rotator_32fc
A function pointer to the dispatcher implementation.
rotator()
Definition: rotator.h:42