python numpy array slicing
I don't think there is a better solution, unless you have some extra information about what's in those arrays.  If they're just random numbers, you have to do (n^2)/2 calculations, and your algorithm is reflecting that, running in O((n^2)/2).
I have an 2d array, A that is 6x6.  I would like to take the first 2 values (index 0,0 and 0,1) and take the average of the two and insert the average into a new array that is half the column size of A (6x3) at index 0,0.  Then i would get the next two indexes at A, take average and put into the new array at 0,1.
The only way I know how to do this is using a double for loop, but for performance purposes (I will be using arrays as big as 3000x3000) I know there is a better solution out there! Thanks!