Replies: 1 comment 2 replies
-
It's just a matter of calling the right slice or index axis method in each iteration |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to iterate an
Array
along one axis over a set of selected indices. However I am not able to find such a method.I notice that the
fn select(&self, axis, &[Idx])
returns a copy, which is inefficient for read only iterative operation.Is there such a method fulfill this purpose?
e.g., if there is hypothetical method, I'd like to use it in the way
Beta Was this translation helpful? Give feedback.
All reactions