fn update_elements_with_matching_indices( entries: &[usize], proj_indices: &[usize], ) -> Vec<usize>
Updates entries inside the entries vector with their corresponding indices inside the proj_indices vector.
entries
proj_indices