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

Implement powi and powf for ArrayBase #1047

Closed
multimeric opened this issue Jul 28, 2021 · 1 comment
Closed

Implement powi and powf for ArrayBase #1047

multimeric opened this issue Jul 28, 2021 · 1 comment

Comments

@multimeric
Copy link

Currently a ** 3 is the only example in the "ndarray_for_numpy_users" docs that requires a map. Could these methods be added directly? Rust has no ^ or ** exponentiation operator, but these two methods are implemented on numeric primitives, and I see no reason why they can't be added for arrays here for convenience.

@multimeric multimeric changed the title Implement powi and powf for `ndarray Implement powi and powf for ArrayBase Jul 28, 2021
@nilgoyette
Copy link
Collaborator

Done in #1042

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 a pull request may close this issue.

2 participants