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

Online Help

All Products    Maple    MapleSim


PolyhedralSets

  

Coordinates

  

get coordinates of a polyhedral set

  

Relations

  

get relations defining a polyhedral set

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Coordinates(ps)

Relations(ps)

Parameters

ps

-

polyhedral set

Description

• 

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.

Examples

withPolyhedralSets:

The coordinates of a set are inferred from the relations, if not explicitly provided

p1PolyhedralSet3x,10y+x,x10;coordsCoordinatesp1

p1{Coordinates:x,yRelations:yx−10,x−3,x10

coordsx,y

(1)

The Relations command gives you programmatic access to the set's definition

Relationsp1

yx−10,x−3,x10

(2)

Compatibility

• 

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]

PolyhedralSets