[Numpy-discussion] matlab for numpy users
David Warde-Farley
dwf at cs.toronto.edu
Thu Sep 17 15:30:55 EDT 2009
On 17-Sep-09, at 2:41 AM, David Cournapeau wrote:
> Not really (except for trivial things like scalar-matrix operations).
> The usual way to do it in matlab is repmat, which helps you doing
> 'manual broadcasting'.
In recent versions there is also 'bsxfun', which is an awkward way of
doing broadcasting but uses less memory (I think).
David
More information about the NumPy-Discussion
mailing list