warp.length_sq#

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

  • Python

  • Differentiable

Compute the squared length of a.

Compute the squared length of a vector.

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

  • Python

  • Differentiable

Compute the squared length of a.

Compute the squared length of a quaternion.