not

Performs logical negation, the 'not' operation.

Syntax

not (a)

Inputs

a
Logical true/false.
Type: double | intlogical
Dimension: scalar

Outputs

R
Not of a.

Example

Simple not example:

a = true
not(a)
a = 1
R = 0