pub fn evaluate_constraint<'a, LHS, RHS, R>(
    terms: &'a [(LHS, usize)],
    assignment: &'a [RHS]
) -> Rwhere
    LHS: One + Send + Sync + PartialEq,
    RHS: Send + Sync + Mul<&'a LHS, Output = RHS> + Copy,
    R: Zero + Send + Sync + AddAssign<RHS> + Sum,
Expand description

Computes the inner product of terms with assignment.