Answers for "matrix python math"

0

matrix python math

>>> x = np.array( ((2,3), (3, 5)) )
>>> y = np.matrix( ((1,2), (5, -1)) )
>>> np.dot(x,y)
matrix([[17,  1],
        [28,  1]])
Posted by: Guest on July-08-2020

Python Answers by Framework

Browse Popular Code Answers by Language