23 #ifndef _GR_ROTATOR_H_
24 #define _GR_ROTATOR_H_
38 unsigned int d_counter;
41 rotator() : d_phase(1), d_phase_incr(1), d_counter(0)
52 d_phase *= d_phase_incr;
54 if((d_counter % 512) == 0)
55 d_phase /= abs(d_phase);
void rotateN(gr_complex *out, const gr_complex *in, int n)
Definition: rotator.h:60
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
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:41