<p dir="ltr">On Nov 24, 2015 11:57 AM, "John Kirkham" <<a href="mailto:jakirkham@gmail.com">jakirkham@gmail.com</a>> wrote:<br>
><br>
> Takes an array and tacks on arbitrary dimensions on either side, which is returned as a view always. Here are the relevant features:<br>
><br>
> * Creates a view of the array that has the dimensions before and after tacked on to it.<br>
> * Takes the before and after arguments independent of each other and the current shape.<br>
> * Allows for read and write access to the underlying array.</p>
<p dir="ltr">Can you expand this with some discussion of why you want this function, and why you chose these specific features? (E.g. as mentioned in the PR comments already, the reason broadcast_to returns a read-only array is that it was decided that this was less confusing for users, not because of any technical issue.)</p>
<p dir="ltr">-n</p>