Skip to main content

mul

Function mul 

Source
pub fn mul(a: &Monomial, b: &Monomial, multilinear: bool) -> Monomial
Expand description

The product of two monomials. When multilinear, repeated variables collapse (x² = x), the correct rule for GF(2); otherwise exponents accumulate.