×
Direction r←×y
r
is the result of the scalar application of the direction function:
- if
y
is0
,×y
is0
- otherwise,
×y
isy÷|y
()
Note that this operation can be described as the point on the unit circle with the same direction as y
and is the signum function for real inputs.