Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Broadcasting with NumPy Arrays Two dimension array dimension array Example

# welcome to softhunt.net
import numpy as np
A = np.array([[4, 23, 65], [54, 32, 22]])
print(A)

b = 5
print(b)

C = A + b
print(C)
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Broadcasting #NumPy #Arrays #Two #dimension #array #dimension #array #Example
ADD COMMENT
Topic
Name
6+1 =