Data Science, Data Visualization, Data Analysis, Rust, Programming.
}; let random_points3:Vec<(f64,f64)> = { let individuals_dist = Geometric::new(0.8).unwrap(); let mut individuals: Vec<f64> = (1 .. 10).map(f64::from).collect(); let y_iter: Vec<f64> = individuals.iter().map(|x| individuals_dist.pmf(*x as u64)).collect();