SetIntersection.__contains__
- SetIntersection.__contains__(other)[source]
Return
other in self.Returns
- containsbool
Trueifotheris a member of all subsets,Falseotherwise.
Examples
>>> reals, complexnrs = odl.RealNumbers(), odl.ComplexNumbers() >>> intersection = odl.SetIntersection(reals, complexnrs) >>> 1.0 in intersection True >>> 1.0j in intersection False