Unordered
test if x is unordered with y
OrderedNE
test if x and y are ordered
Calling Sequence
Parameters
Description
Thread Safety
Examples
Unordered(x, y)
OrderedNE(x, y)
x
-
numeric type
y
The Unordered(x, y) function returns true if x is unordered with y, false if x is ordered with y, and unevaluated otherwise.
The OrderedNE(x, y) function returns true only if x<y or y<x. This is distinct from x≠y.
This function returns unevaluated if either x or y is symbolic.
The OrderedNE(x, y) function signals Invalid (returning the default value FAIL) if x is a finite or infinite nonreal, or y is a finite or infinite nonreal.
The Unordered and OrderedNE commands are thread-safe as of Maple 15.
For more information on thread safety, see index/threadsafe.
Unordered⁡1,2
false
Unordered⁡1,2⁢I
true
Unordered⁡1,π
OrderedNE⁡1,2
OrderedNE⁡1,2⁢I
FAIL
OrderedNE⁡1,π
See Also
equation
exceptions
float
numeric_types
type/nonreal
Download Help Document