How do I effectively compute pairwise quantities in numpy?
I want to compute pairwise quantities, e.g. distances between two points.
ValueError: could not broadcast input array from shape A into shape B
I using python with numpy to create an array filled with numbers from tuple, and set it up to be 4×4 matrix.