Home / Get Math Help
Nonpositive
Usage
NonPositive[x] gives True if x is a non-positive number.
Basic example
Evaluate different types of numbers: In[1]:=NonPositive[{1.6, 3/4, Pi, 0, -5, 1 + I, Sin[10^5]}] Out[1]={False, False, False, True, True, False, False} Quantities that are not NumericQ remain unevaluated: In[2]:=NonPositive[{x, Sin[y]}] Out[2]={NonPositive[x], NonPositive[Sin[y]]}
Attributes
Listable | Protected
Relationships with other entities
Positive | Negative | NonNegative | RealSign | Less | Simplify | Assumptions
Typical ranks of usage in programs
2097th most common (1 in 590000 symbols)
1299th most common (1 in 740000 symbols)
3666th most common (1 in 188000 symbols)
History
introduced in Version 3 (September 1996)
Timeline