ProductSpace.__contains__¶
-
ProductSpace.
__contains__
(self, other)¶ Return
other in self
.- Returns
- containsbool
True
ifother
is aLinearSpaceElement
instance andother.space
is equal to this space,False
otherwise.
Notes
This is the strict default where spaces must be equal. Subclasses may choose to implement a less strict check.