ndarray
ndarray copied to clipboard
Add additional array -> array view conversions
It is best to be "complete" with implementations when possible, since it can always be a breaking change to add it later.
As shown in the test change in this commit, this is a minor type
inference breakage due to ArrayView::from(&[]) being ambiguous.
Empty array views should be relatively rare - and one can use
ArrayView1 or other means to disambiguate.