DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
addition array numpy
data = np.array([1, 2]) ones = np.ones(2, dtype=int) data + ones
Source by numpy.org #
PREVIOUS
NEXT
Tagged:
#addition
#array
#numpy
ADD COMMENT
Topic
COMMENT
Name
8+4 =
Submit