matrix python math

Solutions on MaxInterview for matrix python math by the best coders in the world

showing results for - "matrix python math"
Jonathan
16 Jan 2018
1>>> x = np.array( ((2,3), (3, 5)) )
2>>> y = np.matrix( ((1,2), (5, -1)) )
3>>> np.dot(x,y)
4matrix([[17,  1],
5        [28,  1]])
6