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
IsEmpty(polyset)
IsUniversalSet(polyset)
polyset
-
PolyhedralSet
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.
with⁡PolyhedralSets:
Sets specified with infeasible relations are empty.
p_empty≔PolyhedralSet⁡1≤x,x≤−1:IsEmpty⁡p_empty
true
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
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]
Download Help Document