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

7 lines
136 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04: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