Skip to main content

structure_cover

Function structure_cover 

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

Peel the cube apart by structural class and examine the residue: return the ANF degree stratification of a Boolean function (its 2ⁿ truth table). Each degree is a slice of structure; the top nonempty degree is the residue — the interaction order that survives every lower-order peel, and the honest answer to what remains and why. None if truth.len() is not a power of two.