void NCO::getQI(Complex& c) { c.imag(m_table[m_phase]); c.real(-m_table[(m_phase + TableSize / 4) % TableSize]); }
bool operator==(Complex z1, Complex z2){ if ((z1.imag() == z2.imag()) && (z1.real() == z2.imag())) return true; else return false; }