OrderedNE - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Unordered

test if x is unordered with y

OrderedNE

test if x and y are ordered

 

Calling Sequence

Parameters

Description

Thread Safety

Examples

Calling Sequence

Unordered(x, y)

OrderedNE(x, y)

Parameters

x

-

numeric type

y

-

numeric type

Description

• 

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 xy.

  

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.

Thread Safety

• 

The Unordered and OrderedNE commands are thread-safe as of Maple 15.

• 

For more information on thread safety, see index/threadsafe.

Examples

Unordered1&comma;2

false

(1)

Unordered1&comma;2I

true

(2)

Unordered1&comma;π

Unordered1&comma;π

(3)

OrderedNE1&comma;2

true

(4)

OrderedNE1&comma;2I

FAIL

(5)

OrderedNE1&comma;π

OrderedNE1&comma;π

(6)

See Also

equation

exceptions

float

numeric_types

type/nonreal