ndarray icon indicating copy to clipboard operation
ndarray copied to clipboard

API for panic-safe slicing

Open nagisa opened this issue 4 years ago • 2 comments

Is there any way to slice ArrayBase in a way that wouldn’t panic? Looked through the docs searching for -> Option and -> Result and couldn’t find anything obviously relevant.

nagisa avatar Jun 08 '20 19:06 nagisa

There isn't an API for that

bluss avatar Jun 08 '20 21:06 bluss

There isn't an API for that

That's disappointing, since that would be a really nice API to have. I guess it's just a matter of someone needs to take the time to make a PR for it?

Gonkalbell avatar Apr 17 '21 21:04 Gonkalbell