Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Numerical Functions >

Boole

Updated In 6 Graphic
Boole[expr]
yields 1 if expr is True and 0 if it is False.
  • Boole[expr] is effectively equivalent to If[expr, 1, 0].
  • Integrate[f Boole[pred], ...] can be used to integrate f over the region in which pred is True.
New in 5.1 | Last modified in 6
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team