Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

append in dictionary with matrix values

c = np.array([[4, 3], [2, 1]])
d = np.array([[1, 2], [3, 4]])
print(c*d)
# [[4 6]
#  [6 4]]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #append #dictionary #matrix #values
ADD COMMENT
Topic
Name
3+4 =