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

Online Help

PolyhedralSets[ZPolyhedralSets]

  

IsContained

  

check whether each integer point of a bounded ZPolyhedralSet is contained in one ZPolyehdralSet from a list

 

Calling Sequence

Parameters

Description

Examples

References

Compatibility

Calling Sequence

IsContained(zpoly,list)

Parameters

zpoly

-

ZPolyhedralSet object representing a bounded Z-polyhedral set.

list

-

list of ZPolyhedralSets

Description

• 

The IsContained command returns true if every integer point of zpoly is contained in one of the ZPolyhedralSet of the list list, and otherwise it returns false.

• 

If zpoly is not bounded, an error is raised.

Examples

Create a Z-polyhedron in three-dimensional space.

(1)

Apply IntegerPointDecomposition to zp.

(2)

Create two other Z-polyhedra in three-dimensional space.

(3)

(4)

Check whether each integer point of zp1 is a point of zp.

(5)

Check whether each integer point of zp2 is a point of zp.

(6)

Double-check the above inclusion tests by using EnumerateIntegerPoints.

(7)

(8)

(9)

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:-IsContained command was introduced in Maple 2023.

• 

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

See Also

ZPolyhedralSets:-IsEmpty

ZPolyhedralSets:-IsIntegerPointOf

ZPolyhedralSets:-SamplePoint

ZPolyhedralSets:-IntegerPointDecomposition

ZPolyhedralSets:-EnumerateIntegerPoints

ZPolyhedralSets:-ZPolyhedralSet

ZPolyhedralSets

PolyhedralSets

 


Download Help Document