Skip to content

sign

builtin · libnexusinterp/corefcn/mappers-proprietary.cc

: 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.