isdisjoint
test whether sets are disjoint
Calling Sequence
Parameters
Description
Examples
x.isdisjoint(y)
x
-
Set object
y
The isdisjoint function tests whether the Sets x and y are disjoint.
The following interactive session illustrates the use of isdisjoint:
>>> import maplesoft.maple as mpl
>>> import maplesoft.maple.namespace as msymbol
>>> S1 = mpl.execute('{ a, b, c }:')
>>> S2 = mpl.execute('{ x, y, z }:')
>>> S3 = mpl.execute('{ x, c }:')
>>> S1.isdisjoint(S2)
True
>>> S1.isdisjoint(S3)
False
See Also
OpenMaple
OpenMaple/Python/API
OpenMaple/Python/Expression
OpenMaple/Python/Set
Download Help Document