PolyhedralSets
Display
dimension of a polyhedral set
Calling Sequence
Parameters
Description
Examples
Compatibility
Display(polyset)
Display(polyset, typeset = p)
polyset
-
polyhedral set
p
(optional) boolean; format of printed output
This command displays all of the known details for a given set, including the dimension of its ambient space, the dimension of the set, and its defining relations.
The Display command will always print the full list of relations of a polyhedral set, while the number of relations printed upon evaluation of a polyhedral set is limited according to PolyhedralSets[PrintLevel].
The argument p controls whether the output is rendered as 2-D Math (typeset = true), or 1-D Math (typeset = false). The default matches the context in which the command is issued.
with⁡PolyhedralSets:
If the PrintLevel has been set to a low number, the list of relations will be truncated.
PrintLevel⁡1:c≔ExampleSets:-Cube⁡
c≔{Coordinates:x1,x2,x3Relations:−x3≤1, and 5 more constraints
Display will show the entire contents of the set, regardless of the current PrintLevel:
Display⁡c
PolyhedralSet:{Set ID:728Coordinates:x1,x2,x3Dimension of Space:3Dimension of Set:3# of Equalities:0# of Inequalities:6Relations:[−1≤x3,[x3≤1,[−1≤x2,[x2≤1,[−1≤x1,[x1≤1]Vertices:not previously calculatedRays:not previously calculatedBounded:not previously calculatedVolume:not previously calculated
Additional details that have been previously calculated are stored with the polyhedral set and printed when the set is displayed.
v,r≔VerticesAndRays⁡c
v,r≔−1,−1,−1,−1,−1,1,−1,1,−1,−1,1,1,1,−1,−1,1,−1,1,1,1,−1,1,1,1,
PolyhedralSet:{Set ID:728Coordinates:x1,x2,x3Dimension of Space:3Dimension of Set:3# of Equalities:0# of Inequalities:6Relations:[−1≤x3,[x3≤1,[−1≤x2,[x2≤1,[−1≤x1,[x1≤1]Vertices:[−1,−1,−1,[−1,−1,1,[−1,1,−1,[−1,1,1,[1,−1,−1,[1,−1,1,[1,1,−1,[1,1,1]Rays:Bounded:trueVolume:not previously calculated
The displayed output can alternatively be rendered as 1-D Math.
Display⁡c,typeset=false
Set ID: 728 Coordinates: [x[1], x[2], x[3]] Number of coordinates: 3 Dimension of set: 3 Number of equalities: 0 Number of inequalities: 6 Relations: [-x[3] <= 1, x[3] <= 1, -x[2] <= 1, x[2] <= 1, -x[1] <= 1, x[1] <= 1] Vertices: [[-1, -1, -1], [-1, -1, 1], [-1, 1, -1], [-1, 1, 1], [1, -1, -1], [1, -1, 1], [1, 1, -1], [1, 1, 1]] Rays: [] Bounded: true Volume: not previously calculated
The PolyhedralSets[Display] command was introduced in Maple 2015.
For more information on Maple 2015 changes, see Updates in Maple 2015.
See Also
PolyhedralSets[PrintLevel]
PolyhedralSets[PolyhedralSet]
Download Help Document