warp.length_sq#

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

Compute the squared length of a.

Compute the squared length of a vector.

warp.length_sq(a: Quaternion[Float]) Float
  • Kernel: true
  • Python: true
  • Differentiable: true

Compute the squared length of a.

Compute the squared length of a quaternion.