68 s = sin(
ang); c = cos(
ang);
76 std::complex<double> ret(c, s);
88 std::complex<float> fv((
float)dv.real(), (float)dv.imag());
void setPhaseIncr(double _pi)
set the phase increment per step for the oscillator (1/freq)
std::complex< double > stepOscCD()
step the oscillator and produce a complex double result
std::complex< float > stepOscCF()
step the oscillator and produce a complex float result
QuadratureOscillator()
Constructor.
sin/cos oscillator to drive TX signal chain
double stepOscD()
step the oscillator and produce a real double result