octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making bsxfun automatic


From: Michael D. Godfrey
Subject: Re: Making bsxfun automatic
Date: Wed, 03 Aug 2011 22:21:54 -0400
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11

On 8/3/11 8:54 PM, Jordi Gutiérrez Hermoso wrote:
While bsxfun works, it's obscure, people don't know about it, and
frankly, it's just damn ugly, and I shouldn't feel proud about myself
for using it to solve something. People should just attempt the
multiplication they want with .* and be happy it works. Numpy's
approach is just that: bsxfun is just simply "automatic" and it seems
much nicer. We could implement this without breaking any Matlab code,
making it a nice Octave extension.

Any objections?

- Jordi G. H.
None!  This is definitely a good idea.

Michael



reply via email to

[Prev in Thread] Current Thread [Next in Thread]