IsEmpty - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


PolyhedralSets

  

IsEmpty

  

check if a polyhedral set is empty

  

IsUniversalSet

  

check if a polyhedral set is the universal set

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

IsEmpty(polyset)

IsUniversalSet(polyset)

Parameters

polyset

-

PolyhedralSet

Description

• 

IsEmpty returns true if the polyhedral set polyset is the empty set, false otherwise.

• 

IsUniversalSet returns true if the polyhedral set polyset is the universal set, false otherwise.

Examples

> 

with⁡PolyhedralSets:

Sets specified with infeasible relations are empty.

> 

p_empty≔PolyhedralSet⁡1≤x,x≤−1:IsEmpty⁡p_empty

true

(1)

The convex hull of an inequality and its reversed inequality gives the universal set.

> 

p_left≔PolyhedralSet⁡1≤x:p_right≔PolyhedralSet⁡x≤1:IsUniversalSet⁡ConvexHull⁡p_left,p_right

true

(2)

Compatibility

• 

The PolyhedralSets[IsEmpty] and PolyhedralSets[IsUniversalSet] commands were introduced in Maple 2015.

• 

For more information on Maple 2015 changes, see Updates in Maple 2015.

See Also

PolyhedralSets[ExampleSets][ThreeDimensions]

PolyhedralSets[ExampleSets][NDimensions]

PolyhedralSets[PolyhedralSet]

PolyhedralSets