warp.normalize#
- warp.normalize(a: Vector[Any, Float]) Vector[Any, Float]#
Kernel
Differentiable
Compute the normalized value of
a.If
length(a)is 0, the zero vector is returned.
- warp.normalize(a: Quaternion[Float]) Quaternion[Float]
Kernel
Differentiable
Compute the normalized value of
a.If
length(a)is 0, the zero quaternion is returned.