LinearSpace.__contains__¶
- LinearSpace.__contains__(other)[source]¶
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.