matrix_stack(arr[, dtype])

Allows construction of 2D matrices out of heterogeneously shaped inputs.


Performs the same operation as np.broadcast, but does not use *args (takes a list of numpy arrays instead) it also can operate on arbitrarily long lists (rather than be limited by 32).


Finds the common shape of a list of arrays, such that broadcasting into that shape will succeed.