Skip to content

Instantly share code, notes, and snippets.

@Francis-Lee-Earth
Created October 11, 2018 10:37
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 Francis-Lee-Earth/70a9e01a548b0baf5476dbe07aa82155 to your computer and use it in GitHub Desktop.
Save Francis-Lee-Earth/70a9e01a548b0baf5476dbe07aa82155 to your computer and use it in GitHub Desktop.
Matrix
import numpy as np
a = np.array([
[5, 12],
[15, 25]
])
b = np.array(
[20, 10]
)
c = a.dot(b)
print("c:")
print(c)
print()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment