Hi Ruben One dimensional arrays can be thought of as rows. If you want a column, you need to append a dimension.
>>> d = a + b[:,None] which is equivalent to >>> d = a + b[:,np.newaxis] Best, Luca _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
