RosettaCodeData/Task/Logical-operations/J/logical-operations-2.j

7 lines
136 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
a=: 0 0 1 1 NB. Work on vectors to show all possible
b=: 0 1 0 1 NB. 2-bit combos at once.
a aon b
0 0 0 1
0 1 1 1
1 1 0 0