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

Online Help

PolyhedralSets[ZPolyhedralSets]

  

SamplePoint

  

return a sample point of a ZPolyhedralSet

 

Calling Sequence

Parameters

Description

Examples

References

Compatibility

Calling Sequence

SamplePoint(zpoly)

Parameters

zpoly

-

ZPolyhedralSet

Description

• 

SamplePoint(zpoly) returns a sample point of zpoly. If zpoly is empty, then an error is raised.

Examples

Create a Z-polyhedron in three-dimensional space.

(1)

(2)

(3)

(4)

Get a sample point from zp.

(5)

Double-check that latter answer by enumerating the points of zp.

(6)

References

  

Rachid Seghir, Vincent Loechner, and Benoı̂t Meister. "Integer affine transformations of parametric Z-polytopes and applications to loop nest optimization." Proceedings of TACO, Vol. 9(2):8:1–8:27, 2012.

  

Rui-Juan Jing and Marc Moreno Maza. "Computing the Integer Points of a Polyhedron, I: Algorithm." Proceedings of CASC 2017: 225-241, Springer.

  

Rui-Juan Jing and Marc Moreno Maza. "Computing the Integer Points of a Polyhedron, II: Complexity Estimates." Proceedings of CASC 2017: 242-256, Springer.

Compatibility

• 

The PolyhedralSets:-ZPolyhedralSets:-SamplePoint command was introduced in Maple 2023.

• 

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

See Also

ZPolyhedralSets[IsEmpty]

ZPolyhedralSets[IsContained]

ZPolyhedralSets[IsIntegerPointOf]

ZPolyhedralSets[IntegerPointDecomposition]

ZPolyhedralSets[EnumerateIntegerPoints]

ZPolyhedralSets

PolyhedralSets

 


Download Help Document