Skip to content

Instantly share code, notes, and snippets.

@simonwhitaker
Created June 26, 2018 18:54
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 simonwhitaker/c2a84805437303321a8a327191cca36c to your computer and use it in GitHub Desktop.
Save simonwhitaker/c2a84805437303321a8a327191cca36c to your computer and use it in GitHub Desktop.
import numpy as np
A = [
[1.0, 2.0, 3.0],
[4.0, 5.0, 6.0]
]
B = [
[1.0, 2.0],
[3.0, 4.0],
[5.0, 6.0]
]
print np.dot(A, B)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment