-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Matrix subset according to type of input #3485
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
base: v15
Are you sure you want to change the base?
Conversation
I think it's mostly ready for review. Just wanted to review the following, The elements of an index are called ranges like So I was thinking if in the documentation and maybe in the code to find a more general name for the elements of an index like As a reference in numpy it's more like you slice with indices and there is no index class. So you slice |
The code looks really neat, thanks David! Some thoughts:
|
Thanks for your review Jos,
|
Hi Jos,
This addresses #2344
It changes the behavior of index to accommodate for scalar indices and the size of the output depends on the input.
I'm still doing some tests and reviewing what documentation needs to change, but it all seems to work according to:
#2344 (comment)