warp.norm_l2#

warp.norm_l2(v: Any) None#
  • Kernel

  • Differentiable

Compute the L2 norm of a vector v.

\[\|v\|_2 = \sqrt{\sum_i v_i^2}\]
Parameters:

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

Returns:

The L2 norm of the vector.

Return type:

float