you may write `abs2(a - b)` and make `T <: Number`. It is perfectly fine to compute distances between complex numbers using `abs2`.