On Thu, Mar 5, 2009 at 10:40 AM, Robin <[email protected]> wrote: > Hi, > > I have an indexing problem, and I know it's a bit lazy to ask the > list, sometime when people do interesting tricks come up so I hope no > one minds! > > I have a 2D array X.shape = (a,b) > > and I want to change it into new array which is shape (2,(a*b)) which > has the following form: >
actually the new array would have dimensions (2,(a*(b-1) ) as the last bin wouldn't have the second point. Cheers Robin _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
