warp.norm_l1#

warp.norm_l1(v: Any) float#
  • Kernel: true
  • Python: false
  • Differentiable: true

Compute the L1 norm of a vector v.

\[\|v\|_1 = \sum_i |v_i|\]
Parameters:

v (Vector[Float, Any]) – The vector to compute the L1 norm of.

Returns:

The L1 norm of the vector.

Return type:

float