On 7-Jan-09, at 2:26 PM, Sturla Molden wrote: > Matlab does not have broadcasting. Array shapes must always match.
Not totally true. They introduced a clunky, clunky syntax for it in version 7, IIRC, called 'bsxfun'. See http://tinyurl.com/9e7kyt . It's a better solution than indexing with a huge ones() or repmat()'ing all over the place, but not nearly as nice as NumPy overloading. David _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion