On 28 Oct 2014 18:34, "Stefan Otte" <stefan.otte@gmail.com> wrote:
> Hey,
> In the last weeks I tested `np.asarray(np.bmat(....))` as `stack`
> function and it works quite well. So the question persits:  If `bmat`
> already offers something like `stack` should we even bother
> implementing `stack`? More code leads to more
> bugs and maintenance work. (However, the current implementation is
> only 5 lines and by using `bmat` which would reduce that even more.)

In the long run we're trying to reduce usage of np.matrix and ideally deprecate it entirely. So yes, providing ndarray equivalents of matrix functionality (like bmat) is valuable.