John Kirkham
2015-11-24 19:57:00 UTC
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 ).
* 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 ).