-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Ravel unravel #40
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
Ravel unravel #40
Conversation
With ravel_indices (or ravel_indexes), the assymetry with unravel_index maybe helps to remember which direction it goes (ravel_indices means tuple -> index, unravel_index means index -> tuple). Maybe ravel_ndindex? There's got to be a good nomenclature that distinguishes between a flattened index and an ndim-tuple of indices that's short and intuitive. |
Maybe multiindex.; Hmm... the two 'i's don't look so good but it sounds OK. Heteroindex, polyindex? |
Merge in numpy-hpy from ss/missing-flagsobject to labs-hpy-port * commit 'd1617ae2b091848c8b2f22ad35e98e5dc89e1f54': Add forgotten flagsobject.h
feat: Add vpadd_s8
This generalizes unravel_index to work with an array of indices and use either 'C' or 'F' order, and adds its inverse operation, ravel_coords.