pub fn new(provider: &'provider MP, rows_to_skip: Vec<usize>) -> Self {
        debug_assert!(rows_to_skip.is_sorted());
        debug_assert_eq!(rows_to_skip.iter().collect::<HashSet<_>>().len(), rows_to_skip.len());

        RemoveRows {
            provider,
            rows_to_skip,
        }
    }
/// Create a new `RemoveRows` instance.
///
/// # Arguments
///
/// * `provider`: Reference to an instance implementing the `MatrixProvider` trait. Rows from
/// this provider will be removed.
/// * `rows_to_skip`: A **sorted** list of rows that are skipped.
///
/// # Return value
///
/// A new `RemoveRows` instance.
Create a new `RemoveRows` instance.
Create a new ` RemoveRows ` instance .
pub fn new(provider: &'provider MP, rows_to_skip: Vec<usize>) -> Self {
        debug_assert!(rows_to_skip.is_sorted());
        debug_assert_eq!(rows_to_skip.iter().collect::<HashSet<_>>().len(), rows_to_skip.len());
        RemoveRows {
            provider,
            rows_to_skip,
        }
    }
pub fn new ( provider : & ' provider MP , rows_to_skip : Vec < usize > ) -> Self { debug_assert ! ( rows_to_skip is_sorted ( ) ) ; debug_assert_eq ! ( rows_to_skip iter ( ) collect HashSet ( ) len ( ) rows_to_skip len ( ) ) ; RemoveRows { provider , rows_to_skip , } }
Create a new `RemoveRows` instance.
Create a new ` RemoveRows ` instance .
provider
&'provider MP
rows_to_skip
Vec<usize>
provider
&'provider MP
rows_to_skip
Vec<usize>
return value
A new `RemoveRows` instance.
A new ` RemoveRows ` instance .