Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is np.invert(intwave) an XOR operation? #7

Open
Jyny opened this issue Dec 9, 2020 · 0 comments
Open

Is np.invert(intwave) an XOR operation? #7

Jyny opened this issue Dec 9, 2020 · 0 comments

Comments

@Jyny
Copy link

Jyny commented Dec 9, 2020

I'm look at invert function in rattlesnake.py
https://github.com/loehnertz/rattlesnake/blob/master/rattlesnake.py#L312

according to numpy document
np.invert is a bitwise NOT operation
https://numpy.org/doc/stable/reference/generated/numpy.invert.html

this confuse me
what the relation between two operation here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant