Skip to content

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