Created
January 22, 2017 23:54
-
-
Save cjhanks/5cd635e58c0c76a000f86a89778c2597 to your computer and use it in GitHub Desktop.
Matmul
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
R = np.array([[0, 1], | |
[1, 0]]) | |
p = np.array([3, 5]) | |
print(R @ p) | |
# > [5 3] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment