Python representation of a Maple set
The maple.Set class represents Maple objects of type set.
maple.Set inherits all the methods defined on Indexable objects.
It implements the collections.abc.Set base abstract class from the collections.abc module.
The following methods are defined on any Set object and invoke the specified implementation in Maple.
x and y
Intersection of x and y
x <= y
True if x is equal to or a subset of y
x < y
True when x is a strict subset of y
x >= y
True when x is equal to or a superset of y
x > y
True when x is a strict superset of y
x or y
Union of x and y
x sub y
Set difference of x and y
Symmetric difference of of x and y
True when x and y are disjoint
Download Help Document