File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -563,21 +563,21 @@ cdef class BooleanFunction(SageObject):
563
563
sage: B.truth_table(format='hex')
564
564
'43'
565
565
566
- sage: BooleanFunction('00ab').truth_table(format='hex')
566
+ sage: BooleanFunction('00ab').truth_table(format='hex') # needs sage.rings.polynomial.pbori
567
567
'00ab'
568
568
569
569
sage: H = '0abbacadabbacad0'
570
570
sage: len(H)
571
571
16
572
- sage: T = BooleanFunction(H).truth_table(format='hex')
572
+ sage: T = BooleanFunction(H).truth_table(format='hex') # needs sage.rings.polynomial.pbori
573
573
sage: T == H
574
574
True
575
575
sage: H = H * 4
576
- sage: T = BooleanFunction(H).truth_table(format='hex')
576
+ sage: T = BooleanFunction(H).truth_table(format='hex') # needs sage.rings.polynomial.pbori
577
577
sage: T == H
578
578
True
579
579
sage: H = H * 4
580
- sage: T = BooleanFunction(H).truth_table(format='hex')
580
+ sage: T = BooleanFunction(H).truth_table(format='hex') # needs sage.rings.polynomial.pbori
581
581
sage: T == H
582
582
True
583
583
sage: len(T)
@@ -1074,7 +1074,7 @@ cdef class BooleanFunction(SageObject):
1074
1074
2
1075
1075
1076
1076
sage: R.<x> = GF(2^8,'a')[] # needs sage.rings.finite_rings
1077
- sage: B = BooleanFunction(x^31) # needs sage.rings.finite_rings
1077
+ sage: B = BooleanFunction(x^31) # needs sage.rings.finite_rings sage.rings.polynomial.pbori
1078
1078
sage: B.algebraic_immunity() # needs sage.rings.finite_rings
1079
1079
4
1080
1080
"""
You can’t perform that action at this time.
0 commit comments