warp.trace#

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

Compute the trace of matrix a.