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

Use numpy for array computations throughout watershed API code #111

Open
rod-glover opened this issue Dec 5, 2019 · 1 comment
Open

Comments

@rod-glover
Copy link
Contributor

In several places, we create custom functions that numpy can supply. E.g., vec_add, which performs pointwise addition on tuples could be replaced with numpy broadcasting. Quite possibly we should use numpy throughout for all the computations on arrays.

@jameshiebert
Copy link
Contributor

This could also be a good-first-issue. Do you have other examples aside from vec_add()?

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

2 participants