Data Science, Data Visualization, Data Analysis, Rust, Programming.
random_points1:Vec<(f64,f64)> = { let individuals_dist = Hypergeometric::new(500, 50, 100).unwrap(); let mut individuals: Vec<f64> = (0 .. 60).map(f64::from).collect(); let y_iter: Vec<f64> = individuals.iter().map(|x| individuals_dist.pmf(*x as u64)).collect();