On Mon, Mar 16, 2015 at 1:50 AM, Stefan Otte stefan.o...@gmail.com wrote:
Summarizing, my proposal is mostly concerned how to create block
arrays from given arrays. I don't care about the name stack. I just
used stack because it replaced hstack/vstack for me. Maybe bstack
for block stack, or
Hey,
1. np.stack for stacking like np.asarray(np.bmat(...))
http://thread.gmane.org/gmane.comp.python.numeric.general/58748/
https://github.com/numpy/numpy/pull/5057
I'm the author of this proposal. I'll just give some context real quickly.
My stack started really simple, basically allowing
We already use the word stack in lots of function names to refer to
something different from what bmat does. So while I definitely agree we
should have something like bmat for ndarrays, it would be better all the to
just pick a different name. np.block, even, might do the job.
On Mar 16, 2015
In the past months there have been two proposals for new numpy functions
using the name stack:
1. np.stack for stacking like np.asarray(np.bmat(...))
http://thread.gmane.org/gmane.comp.python.numeric.general/58748/
https://github.com/numpy/numpy/pull/5057
2. np.stack for stacking along an