Skip to content

Instantly share code, notes, and snippets.

@upbeta01
Last active December 3, 2018 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save upbeta01/69c669dcedda48b38faf777d0ff25a69 to your computer and use it in GitHub Desktop.
Save upbeta01/69c669dcedda48b38faf777d0ff25a69 to your computer and use it in GitHub Desktop.
import numpy as np
a = np.matrix(
[[-1,0,4],
[2,0,0]]
)
b = np.matrix(
[[-1,1],
[-1,3],
[2,4]]
)
c = a * b
print(c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment