ndarray
ndarray copied to clipboard
API for panic-safe slicing
trafficstars
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.
There isn't an API for that
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?