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

change to Numpy power ufunc #70

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

edenbaus
Copy link

@edenbaus edenbaus commented Apr 9, 2018

Change builtin python power function to Numpy power ufunc

@mrocklin
Copy link
Member

mrocklin commented Apr 9, 2018

Hi @edenbaus . Thanks for the PR. I'm a bit curious about this, I would have expected these to be more-or-less the same. Is there a performance difference?

@edenbaus
Copy link
Author

edenbaus commented Apr 9, 2018 via email

@mrocklin
Copy link
Member

mrocklin commented Apr 9, 2018

My guess would be that ** dispatches to np.power for numpy arrays.

Base automatically changed from master to main February 10, 2021 01:06
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

Successfully merging this pull request may close these issues.

2 participants