Closed mulimoen closed 3 years ago
@mulimoen Any changes/updates to this, do we want to rebase/merge it? (should changelog be updated then?)
This change is orthogonal to all other PRs. There is need for changes in the CHANGELOG, this overwrites the unreleased Extents
and friends
Yea, make sense, I've misread it. Could you rebase (just in case)? We'll wait till it's green and then merge
@aldanor Rebased and green
👍
This changes the
From
implementations ofSliceOrIndex
/Hyperslab
/Selection
toTryFrom
.SliceOrIndex
is now reworked to only accept parameters resulting in valid selections. The old code for working with negative strides in selections to allow python like negative indexing has been removed, which removed a lot of the special casing to allow for this.A future addition could be to introduce a hyperslab macro which mirrors
ndarray::s
, but allows the size of the block to be selected.Fixes #142