(x)
return x/np.abs(x)
Return complex sign of x.
Return complex sign of x.
Return complex sign of x .
def _mysign(x):
    """Return complex sign of x."""
    if x == 0.0:
        return 1.0
    # return the complex "sign"
    return x/np.abs(x)
def _mysign ( x ) : if x == 0.0 : return 1.0 # return the complex "sign" return x / np . abs ( x )