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

Online Help

All Products    Maple    MapleSim


PolyhedralSets

  

PolyhedralSet

  

construct polyhedral sets

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

PolyhedralSet(system)

PolyhedralSet(system, coordinates)

PolyhedralSet(vertices, coordinates)

PolyhedralSet(vertices, rays, coordinates)

PolyhedralSet(polyset)

Parameters

system

-

list or set of linear equalities and non-strict inequalities with rational coefficients

vertices

-

list of lists or set of lists of rationals

rays

-

(optional) list/set of list of rationals

coordinates

-

(optional) list of names, coordinates of the set's ambient space

polyset

-

polyhedral set to copy

Description

• 

A polyhedral set can be created via its H-Representation by calling PolyhedralSet(system).  If the set's coordinates are not supplied, they default to the indeterminates in system.

• 

Alternatively, a polyhedral set can be created via its V-Representation by calling PolyhedralSet(vertices, rays, coordinates), supplying the set's vertices and extreme rays.  The rays are an optional argument, required to represent unbounded sets.  If coordinates is not specified, default coordinates names are generated for the set.

• 

The set is reduced to its minimal representation by removing redundant relations, vertices that can be expressed of convex combinations of the other vertices and rays that are conical combinations of the other rays.  The result is stored in a canonical form and will therefore likely have a different form than that used to create the set.

• 

Polyhedral sets can be copied by calling PolyhedralSet

Examples

withPolyhedralSets:

Create a set via a list of inequalities

psPolyhedralSet0x,0y

ps{Coordinates:x,yRelations:y0,x0

(1)

Relationsps

y0,x0

(2)

Coordinatesps

x,y

(3)

Specifying the coordinates explicitly controls their order and allows for the inclusion of additional coordinates not appearing in system

psPolyhedralSet0x,0y,x,y,z

ps{Coordinates:x,y,zRelations:y0,x0

(4)

Coordinatesps

x,y,z

(5)

Create a polyhedral set using its vertices and rays

psPolyhedralSet5,5,5,5,1,1,1,1

ps{Coordinates:x1,x2Relations:x2−5,x1+x20,x1+x20

(6)

Plotps

Compatibility

• 

The PolyhedralSets[PolyhedralSet] command was introduced in Maple 2015.

• 

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

See Also

PolyhedralSets[VerticesAndRays]

PolyhedralSets[Display]

PolyhedralSets[Relations]

PolyhedralSets[Coordinates]

PolyhedralSets