DualSet - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


PolyhedralSets

  

DualSet

  

polar dual of a polyhedral set

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

DualSet(polyset)

Parameters

polyset

-

polyhedral set

Description

• 

This command computes the polar dual of the polyhedral set polyset.

Examples

> 

with⁡PolyhedralSets:

The dual of the cube is an octahedron

> 

cube≔ExampleSets:-Cube⁡:cube_dual≔DualSet⁡cube:Plot⁡cube_dual

DualSet is an involution for bounded sets that include the origin, that is taking the dual of octahedron yields the original cube

> 

cube_dual_dual≔DualSet⁡cube_dual:Plot⁡cube_dual_dual

The dual of the dual of a half-space, on the other hand, does not yield the original set.

> 

p≔PolyhedralSet⁡x≤−1,x,y

p≔{Coordinates:x,yRelations:x≤−1

(1)
> 

p_dual≔DualSet⁡p

p_dual≔{Coordinates:x,yRelations:y=0,−x≤0

(2)
> 

p_dual_dual≔DualSet⁡p_dual

p_dual_dual≔{Coordinates:x,yRelations:x≤0

(3)
> 

Equal⁡p,p_dual_dual

false

(4)
> 

Plot⁡p,p_dual_dual

Compatibility

• 

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

• 

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

See Also

PolyhedralSets[`in`]

PolyhedralSets[VerticesAndRays]

PolyhedralSets[Faces]

PolyhedralSets[PolyhedralSet]

PolyhedralSets