not

Type: External

Group: matrix

Syntax

answer = not(matrix)

Description

Returns the boolean NOT of all the elements of a matrix.

Examples

not([false, true]) = [true, false]
not([1,1;1,1])     = [0,0;0,0]
not([0,1,2])       = [1,0,0]

See Also

and, or, xor