DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+4 =
Submit