Le mercredi 17 février 2010 à 16:21 -0600, Robert Kern a écrit : > > What about the next step: a variable number of arguments that are > > 2d-arrays with different shapes ? > > - nm: number of arrays > - ncols : a 1d-array (dimension nm) containing the number of columns > in each array > - nrows : a 1d-array (dimension nm) containing the number of rows in each > array > - np: the sum of array sizes [(ncols * nrows).sum() in numpy terms] > - X : a 1d-array (dimension np) containing the concatenated arrays. >
I guess I will need to be careful when building the arrays from X. Thanks! -- Fabrice Silva LMA UPR CNRS 7051 _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion