Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

compute difference of all the combinations of 2 arrays

a = np.arange(0,3)
b = np.arange(1,6)
aa, bb = np.meshgrid(a,b)
aa-bb
 
PREVIOUS NEXT
Tagged: #compute #difference #combinations #arrays
ADD COMMENT
Topic
Name
9+2 =