sign
- :
y =sign(x)¶ Return the signum of each element of x: -1, 0 or 1 for real input and
z ./ abs (z)for complex input.
signy = sign (x) ¶Return the signum of each element of x: -1, 0 or 1 for real input
and z ./ abs (z) for complex input.