ndarray
ndarray copied to clipboard
Implement `powi` and `powf` for `ArrayBase`
trafficstars
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.