Created
February 15, 2019 13:34
-
-
Save Robofied/ac796702d5c8931d2ef0eeba09287651 to your computer and use it in GitHub Desktop.
Numpy
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
print(np.cos(np.deg2rad(np.array((0.,30.,45.))))) | |
#[Output]: | |
#array([1. , 0.8660254 , 0.70710678]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment