I\'m new to C++ (I come from a Python background) and I\'m building an approximate nearest neighbor search algorithm. I have a lot of squared euclidean distances to compute,