pub(crate) fn iter_active_column(
        &self,
        variable: usize,
    ) -> impl Iterator<Item = SparseTuple<&OF>> {
        self.general_form.constraints.iter_column(variable)
            .map(|&(i, ref v)| (i, v))
            .filter(move |&(i, _)| self.is_constraint_still_active(i))
    }
/// Iterate over the constraints of a column who have not (yet) been eliminated.
///
/// # Arguments
///
/// * `column`: Column to iter over.
/// * `constraints`: The row major representation of the constraints of the general form for
/// fast iteration.
///
/// # Return value
///
/// An iterator of (row index, reference to value) tuples.
Iterate over the constraints of a column who have not (yet) been eliminated.
Iterate over the constraints of a column who have not ( yet ) been eliminated .
pub(crate) fn iter_active_column(
        &self,
        variable: usize,
    ) -> impl Iterator<Item = SparseTuple<&OF>> {
        self.general_form.constraints.iter_column(variable)
            .map(|&(i, ref v)| (i, v))
            .filter(move |&(i, _)| self.is_constraint_still_active(i))
    }
pub ( crate ) fn iter_active_column ( & self , variable : usize , ) -> impl Iterator < Item = SparseTuple < & OF > > { self . general_form . constraints . iter_column ( variable ) . map ( | & ( i , ref v ) | ( i , v ) ) . filter ( move | & ( i , _ ) | self . is_constraint_still_active ( i ) ) }
Iterate over the constraints of a column who have not (yet) been eliminated.
Iterate over the constraints of a column who have not ( yet ) been eliminated .
&self
variable
usize
&self
variable
usize
return value
An iterator of (row index, reference to value) tuples.
An iterator of ( row index reference to value ) tuples .