Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Programming / Logical Operations  /
And

  • && && ... is the logical AND function. It evaluates its arguments in order, giving False immediately if any of them are False, and True if they are all True.
  • And[ , , ... ] can be input in StandardForm and InputForm as ... . The character can be entered as &&, and or \[And].
  • And evaluates its arguments in a non-standard way (see Section A.4.2).
  • And gives symbolic results when necessary. It applies no simplification rules, except removing initial arguments that are True.
  • See the Mathematica book: Section 1.5.6.
  • See also: LogicalExpand.

    Further Examples

    This uses the shorthand notation for And.

    In[1]:=

    Out[1]=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.