SetIntersection.__getitem__

SetIntersection.__getitem__(self, indcs)[source]

Return self[indcs].

Examples

>>> reals, complexnrs = odl.RealNumbers(), odl.ComplexNumbers()
>>> intersection = odl.SetIntersection(reals, complexnrs)
>>> intersection[0]
RealNumbers()
>>> intersection[:]
SetIntersection(RealNumbers(), ComplexNumbers())