How do I use the boolean_arr to filter ys based on the bool values?
The arrays all have the same length.
fn main() {
let xs: Vec<f32> = vec![300., 7.5, 10., 250.];
let boolean_arr: Vec<bool> = xs.into_iter().map(|x| x > 10.).collect();
let ys: Vec<f32> = vec![110.5, 50., 25., 770.];
assert_eq!(wanted_vec, vec![110.5, 770.]);
}