Mathematica > Mathematics and Algorithms > Discrete Mathematics > Boolean Computation >
Mathematica > Mathematics and Algorithms > Logic & Boolean Algebra > Boolean Computation >

Nand

Nand[e1, e2, ...]
is the logical NAND function. It evaluates its arguments in order, giving True immediately if any of them are False, and False if they are all True.
  • Nand has attribute HoldAll, and explicitly controls the evaluation of its arguments. In Nand[e1, e2, ...] the e_i are evaluated in order, stopping if any one of them is found to be False.  »
  • Nand gives symbolic results when necessary, removing initial arguments that are True.  »
New in 4.1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team