LinearSpace.__contains__

LinearSpace.__contains__(self, other)[source]

Return other in self.

Returns
containsbool

True if other is a LinearSpaceElement instance and other.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.