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

Support for general slicing #17

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

tornikeo
Copy link

This PR will track adding support for general slicing behavior (i.e. mat[:5,:42,:]. As far as I can see, each such slice should create a clone sparsestack instance, which gets filled in with appropriate values.

This PR will not include general slicing assignment though, so no mat[:1,:2]=42 kind of behavior for now.

I think this also kinda addresses the matchms/matchms#383

Still work-in-progress. Need comments on the likely breaking changes too (i.e. mat[:,:] now returns a second instance of sparsestack, not a tuple of r,c,d).

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 this pull request may close these issues.

2 participants