APLX Help : Help on APL language : APL Primitives : ~ Not
|
|
|
|
|
One-argument form See also Without The right argument must consist only of the numbers 1 or 0. The effect of ~1
0
~1 1 1 0 (Each 1 in a vector is changed to 0
0 0 0 1 and each 0 to 1)
TABLE
1 1 1
0 0 0
1 0 1
~TABLE (Each 1 in a matrix is changed to 0
0 0 0 and each 0 to 1)
1 1 1
0 1 0
|
|
APLX Help : Help on APL language : APL Primitives : ~ Not
|
|
Copyright © 1996-2010 MicroAPL Ltd