def __truediv__(self, other):
        """Return ``self / other``."""
        if getattr(other, '__array_priority__', 0) > self.__array_priority__:
            return other.__rtruediv__(self)
        elif self.space.field is None:
            return NotImplemented
        elif other in self.space.field:
            tmp = self.space.element()
            return self.space.lincomb(1.0 / other, self, out=tmp)
        elif other in self.space:
            tmp = self.space.element()
            return self.space.divide(self, other, out=tmp)
        elif isinstance(other, LinearSpaceElement):
            return NotImplemented
        else:
            try:
                other = self.space.element(other)
            except (TypeError, ValueError):
                return NotImplemented
            else:
                return self.__truediv__(other)
def __truediv__ ( self , other ) : if getattr ( other , '__array_priority__' , 0 ) > self . __array_priority__ : return other . __rtruediv__ ( self ) elif self . space . field is None : return NotImplemented elif other in self . space . field : tmp = self . space . element ( ) return self . space . lincomb ( 1.0 / other , self , out = tmp ) elif other in self . space : tmp = self . space . element ( ) return self . space . divide ( self , other , out = tmp ) elif isinstance ( other , LinearSpaceElement ) : return NotImplemented else : try : other = self . space . element ( other ) except ( TypeError , ValueError ) : return NotImplemented else : return self . __truediv__ ( other )
Return ``self / other``.