warp.length_sq#

warp.length_sq(a: Vector[Any, Scalar]) Scalar#
  • Kernel

  • Differentiable

Compute the squared length of a vector a.

warp.length_sq(a: Quaternion[Scalar]) Scalar
  • Kernel

  • Differentiable

Compute the squared length of a quaternion a.