fn remove_major_indices(&mut self, indices: &[usize]) {
        debug_assert!(indices.len() <= self.major_dimension_size);
        debug_assert!(indices.is_sorted());
        // All values are unique
        debug_assert!(indices.iter().collect::<HashSet<_>>().len() == indices.len());
        debug_assert!(indices.iter().all(|&i| i < self.major_dimension_size));

        remove_indices(&mut self.data, indices);
        self.major_dimension_size -= indices.len();
    }
/// Remove columns from the matrix.
///
/// # Arguments
///
/// * `indices`: Columns to be removed, is assumed sorted.
Remove columns from the matrix.
Remove columns from the matrix .
fn remove_major_indices(&mut self, indices: &[usize]) {
        debug_assert!(indices.len() <= self.major_dimension_size);
        debug_assert!(indices.is_sorted());
        // All values are unique
        debug_assert!(indices.iter().collect::<HashSet<_>>().len() == indices.len());
        debug_assert!(indices.iter().all(|&i| i < self.major_dimension_size));
        remove_indices(&mut self.data, indices);
        self.major_dimension_size -= indices.len();
    }
fn remove_major_indices ( & mut self , indices : & [ usize ] ) { debug_assert ! ( indices len ( ) self major_dimension_size ) ; debug_assert ! ( indices is_sorted ( ) ) ; // All values are unique debug_assert ! ( indices iter ( ) collect HashSet ( ) len ( ) indices len ( ) ) ; debug_assert ! ( indices iter ( ) all ( i i self major_dimension_size ) ) ; remove_indices ( & mut self . data , indices ) ; self . major_dimension_size -= indices . len ( ) ; }
Remove columns from the matrix.
Remove columns from the matrix .
&mut self
indices
&[usize]
&mut self
indices
&[usize]