quara.math.norm module

l2_norm(x, y)[source]

calculates L2 norm.

Parameters
  • x (np.ndarray) – vector.(1-dim numpy ndarray)

  • y (np.ndarray) – vector.(1-dim numpy ndarray)

Returns

L2 norm of x and y.

Return type

np.float64