(self, deep=True, **hints)
return (sinh(re)*C.cos(im), cosh(re)*C.sin(im))
Returns this function as a complex coordinate.
Returns this function as a complex coordinate.
Returns this function as a complex coordinate .
def as_real_imag(self, deep=True, **hints):
        """
        Returns this function as a complex coordinate.
        """
        if self.args[0].is_real:
            if deep:
                hints['complex'] = False
                return (self.expand(deep, **hints), S.Zero)
            else:
                return (self, S.Zero)
        if deep:
            re, im = self.args[0].expand(deep, **hints).as_real_imag()
        else:
            re, im = self.args[0].as_real_imag()
        return (sinh(re)*C.cos(im), cosh(re)*C.sin(im))
def as_real_imag ( self , deep = True , * * hints ) : if self . args [ 0 ] . is_real : if deep : hints [ 'complex' ] = False return ( self . expand ( deep , * * hints ) , S . Zero ) else : return ( self , S . Zero ) if deep : re , im = self . args [ 0 ] . expand ( deep , * * hints ) . as_real_imag ( ) else : re , im = self . args [ 0 ] . as_real_imag ( ) return ( sinh ( re ) * C . cos ( im ) , cosh ( re ) * C . sin ( im ) )