I will assume v
has the following format:
v = numpy.array( [[1,2], [4,2], [15,34], [2,3]] )
Extract the two components:
v1 = v[:,0]
v2 = v[:,1]
Then use correlate to calculate the per-component correlation:
C = numpy.correlate(v1,v1,'full') + numpy.correlate(v2,v2,'full')
You will only need half of the result as the correlation is symmetric. The correct half would be:
C = C[(len(C)/2):]