Skip to main content

algebraic_degree

Function algebraic_degree 

Source
pub fn algebraic_degree(truth: &[bool]) -> Option<usize>
Expand description

The algebraic degree of a Boolean function: the largest number of variables in any monomial present in its ANF (0 for a constant, 1 for affine, up to n). None for a malformed table.