RosettaCodeData/Task/Logical-operations/J/logical-operations-2.j
2023-07-01 13:44:08 -04:00

6 lines
136 B
Text

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