Do you really want to find euclidean_distance as hypot(x)**2? Isn't it
faster to do real(x)**2 + imag(x)**2?
Might not be standard conforming though.
On Fri, Nov 2, 2018 at 5:33 PM serge guelton <
a blogpost to describe the move to xsimd as vectorization engine: