Skip to content

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