Horje
mumtiply to matrices python Code Example
mumtiply to matrices python
import numpy as np
# two dimensional arrays
m1 = np.array([[1,4,7],[2,5,8]])
m2 = np.array([[1,4],[2,5],[3,6]])
m3 = np.dot(m1,m2) 
print(m3) 

# three dimensional arrays
m1 = ([1, 6, 5],[3 ,4, 8],[2, 12, 3]) 
m2 = ([3, 4, 6],[5, 6, 7],[6,56, 7]) 
m3 = np.dot(m1,m2) 
print(m3) 




Python

Related
Reset Index & Retain Old Index as Column in pandas Code Example Reset Index & Retain Old Index as Column in pandas Code Example
[Solved] TypeError: 'NoneType' object is not subscriptable Code Example [Solved] TypeError: 'NoneType' object is not subscriptable Code Example
python :  read all the contents of the file into a string (use of  'with open') Code Example python : read all the contents of the file into a string (use of 'with open') Code Example
python default summary statistics for all columns Code Example python default summary statistics for all columns Code Example
python cd to file Code Example python cd to file Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10