APLX Help : Help on APL language : APL Primitives : ⍲ Nand




Compares two arguments which must consist only of 0's and 1's. If either or both elements compared are 0's, the result for that comparison is 1. Otherwise the result for that comparison is 0. 1 ⍲ 1 0 1 ⍲ 0 1 0 ⍲ 0 1 0 0 0 1 1 ⍲ 1 1 1 1 0 (Each element in a vector is compared 1 1 1 0 1 with the corresponding element in a vector of equal size) TABLE ← 3 3 ⍴ 1 1 1 0 0 0 1 0 1 1 ⍲ TABLE (Each element in a matrix is 0 0 0 compared with 1) 1 1 1 0 1 0 

APLX Help : Help on APL language : APL Primitives : ⍲ Nand

Copyright © 19962010 MicroAPL Ltd