boofun.analysis.symmetry
Symmetry helpers informed by Krawchouk polynomials.
Functions
|
Symmetric degree: largest weight with nonzero count. |
|
Crude symmetric sensitivity proxy (mean weight of true inputs). |
|
Return counts of true outputs grouped by Hamming weight. |
- boofun.analysis.symmetry.symmetrize(f: BooleanFunction) ndarray[source]
Return counts of true outputs grouped by Hamming weight.
- boofun.analysis.symmetry.degree_sym(f: BooleanFunction) int[source]
Symmetric degree: largest weight with nonzero count.
- boofun.analysis.symmetry.sens_sym(f: BooleanFunction) float[source]
Crude symmetric sensitivity proxy (mean weight of true inputs).