PRODUCTS
PURCHASE
FOR USERS
COMPANY
OUR SITES
DOCUMENTATION CENTER SEARCH
Mathematica
>
Testing Expressions
>
Built-in
Mathematica
Symbol
Negative
Positive
NonPositive
Sign
Greater
Simplify
Assumptions
See Also »
|
Testing Expressions
More About »
NonNegative
NonNegative
[
x
]
gives
True
if
x
is a non-negative number.
MORE INFORMATION
NonNegative
[
x
]
gives
False
if
x
is manifestly a negative or complex numerical quantity. Otherwise, it remains unevaluated.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Evaluate different types of numbers:
In[1]:=
Out[1]=
Quantities that are not
NumericQ
remain unevaluated:
In[2]:=
Out[2]=
SEE ALSO
Negative
Positive
NonPositive
Sign
Greater
Simplify
Assumptions
MORE ABOUT
Testing Expressions
New in 1
© 2008 Wolfram Research, Inc.