pub fn symbols(
c: &Constellation,
n: usize,
px: Option<&[f64]>,
rng: &mut Rng,
) -> Result<(Vec<usize>, Vec<C64>)>Expand description
n random symbols of c drawn with the probabilities px (uniform if None,
normalised to a sum of 1 otherwise, as Constellation::priors).
Returns the indices (Gray labels) and the symbols.