sign

odl.sign(x1, out=None)

Returns an indication of the sign of each element x_i of the input array x.

The returned array has the same shape as x.