vecL2 function

double vecL2(
  1. Vector a,
  2. Vector b
)

Euclidean distance ‖a - b‖.

Implementation

double vecL2(Vector a, Vector b) => math.sqrt(vecL2Sq(a, b));