IntersectionBlist( blist1, blist2.. )
IntersectionBlist( list )
In the first form IntersectionBlist
returns the intersection of the
boolean lists blist1, blist2, etc., which must have equal length.
The intersection is a new boolean list such that inter[i] =
blist1[i] and blist2[i] and ..
.
In the second form list must be a list of boolean lists blist1,
blist2, etc., which must have equal length, and IntersectionBlist
returns the intersection of those boolean lists.
gap> blist1 := [ true, true, false, false ];; gap> blist2 := [ true, false, true, false ];; gap> IntersectionBlist( blist1, blist2 ); [ true, false, false, false ]
Note that IntersectionBlist
is implemented in terms of the procedure
IntersectBlist
(see IntersectBlist).
GAP 3.4.4