pub fn qpsk(rng: &mut Rng) -> C64Expand description
One unit-energy QPSK point $e^{j\pi(2i + 1)/4}$, $i$ uniform in 0..4 (one draw of
Rng::below): the pilots and preambles drawn from a seed.
ยงExamples
use comnum_core::rng::Rng;
let s = comnum_mapping::source::qpsk(&mut Rng::new(1));
assert!((s.norm() - 1.0).abs() < 1e-15 && (s.re.abs() - s.im.abs()).abs() < 1e-15);