ProductSpace.__contains__¶
- ProductSpace.__contains__(other)¶
Return
other in self.- Returns:
- containsbool
Trueifotheris aLinearSpaceElementinstance andother.spaceis equal to this space,Falseotherwise.
Notes
This is the strict default where spaces must be equal. Subclasses may choose to implement a less strict check.