VNorm computes a normalized vector parallel to v
with length 1
. For scalar values this is equivalent to the sign
operation, returning -1 for all values < 0, 0 for 0, and +1 for all values > 0.
Supported Rates: frame, shape, pixel
Make a VNorm VGen at requested rate.
v |
The input vector. |
A vector parallel to v but with unit length.
dimensions
input | output |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |