Sept. 12, 2007
1:49 a.m.
Thanks, Robert, for the quick response. On 9/11/07, Robert Kern <robert.kern@gmail.com> wrote:
There are operations you can express with this form that you couldn't if the behavior that you expected were the case whereas you can get the result you want relatively straightforwardly.
In [6]: a[q[:,newaxis], r]
Ah, yes, of course. I forgot my broadcasting rules. However, I also thank Timothy Hochberg for the moral support of agreeing that the obvious way (a[q,r]) should be reasonably expected to work. Thanks again for your help - the routine is now working nicely. Mike -- mike.ressler@alum.mit.edu