Created
July 26, 2020 10:24
-
-
Save omaraflak/da248cb9dd6f6778d36d158b7db9cec4 to your computer and use it in GitHub Desktop.
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
def reflected(vector, axis): | |
return vector - 2 * np.dot(vector, axis) * axis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment