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

Online Help

All Products    Maple    MapleSim


PolyhedralSets

  

Display

  

dimension of a polyhedral set

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Display(polyset)

Display(polyset, typeset = p)

Parameters

polyset

-

polyhedral set

p

-

(optional) boolean; format of printed output

Description

• 

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.

Examples

withPolyhedralSets:

If the PrintLevel has been set to a low number, the list of relations will be truncated.

PrintLevel1:cExampleSets:-Cube

c{Coordinates:x1,x2,x3Relations:x31, and 5 more constraints

(1)

Display will show the entire contents of the set, regardless of the current PrintLevel:

Displayc

PolyhedralSet:{Set ID:728Coordinates:x1,x2,x3Dimension of Space:3Dimension of Set:3# of Equalities:0# of Inequalities:6Relations:[−1x3,[x31,[−1x2,[x21,[−1x1,[x11]Vertices:not previously calculatedRays:not previously calculatedBounded:not previously calculatedVolume:not previously calculated

(2)

Additional details that have been previously calculated are stored with the polyhedral set and printed when the set is displayed.

v,rVerticesAndRaysc

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,

(3)

Displayc

PolyhedralSet:{Set ID:728Coordinates:x1,x2,x3Dimension of Space:3Dimension of Set:3# of Equalities:0# of Inequalities:6Relations:[−1x3,[x31,[−1x2,[x21,[−1x1,[x11]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

(4)

The displayed output can alternatively be rendered as 1-D Math.

Displayc,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

Compatibility

• 

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]

PolyhedralSets