PolyhedralSets
Coordinates
get coordinates of a polyhedral set
Relations
get relations defining a polyhedral set
Calling Sequence
Parameters
Description
Examples
Compatibility
Coordinates(ps)
Relations(ps)
ps
-
polyhedral set
The H-Representation of a polyhedral set is comprised of two elements: the coordinate space in which it lives and the list of relations.
The Coordinates command returns a list of names for each dimension of the ambient space in which the polyhedral set is defined.
The Relations command returns the list of inequalities and equalities that limit the set to a subset of the ambient space. This list will be empty in the case of the universal set, comprised of all points in the coordinate space. The set's relations have been put into a canonical form and so this list will not necessarily match the list used to initially build the set with the PolyhedralSet command.
with⁡PolyhedralSets:
The coordinates of a set are inferred from the relations, if not explicitly provided
p1≔PolyhedralSet⁡3≤x,10≤y+x,x≤10;coords≔Coordinates⁡p1
p1≔{Coordinates:x,yRelations:−y−x≤−10,−x≤−3,x≤10
coords≔x,y
The Relations command gives you programmatic access to the set's definition
Relations⁡p1
−y−x≤−10,−x≤−3,x≤10
The PolyhedralSets[Coordinates] and PolyhedralSets[Relations] commands were introduced in Maple 2015.
For more information on Maple 2015 changes, see Updates in Maple 2015.
See Also
PolyhedralSets[Faces]
PolyhedralSets[Graph]
PolyhedralSets[PolyhedralSet]
Download Help Document