Skip to content

abs

builtin · libnexusinterp/corefcn/mappers-proprietary.cc

: y = abs (z)

Compute the magnitude of each element of z. For complex input this is the Euclidean length hypot (real (z), imag (z)), computed without intermediate overflow.