Takes an array and tacks on arbitrary dimensions on either side, which is
returned as a view always. Here are the relevant features:
* Creates a view of the array that has the dimensions before and after tacked
on to it.
* Takes the before and after arguments independent of each other and the
current shape.
* Allows for read and write access to the underlying array.
To see an example of what this would look like, see this PR (
https://github.com/numpy/numpy/pull/6713 ).
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion