Quansight-Labs/numpy.net

Get data for a shape using a range

ChengYen-Tang opened this issue · 2 comments

In python I can use array.shape[1:]
C# has similar functionality
https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-8#indices-and-ranges
alternative method: array.shape.iDims[1..]

I just pushed up a new release that supports selecting shape dimensions via Slice (new Slice(1,null, null) or slice string ("1:").

thank you