On 03/10/06, Robert Kern <[EMAIL PROTECTED]> wrote: > Has anyone implemented an easier or more efficient way to broadcast arrays to > a > common shape at the Python level? I was hoping that the broadcast iterator > would > actually provide the broadcasted arrays, but it does not.
How about vectorize(lambda *args: args)? Almost works, only it sometimes segfaults with more than two arguments... but that's clearly a numpy bug. A. M. Archibald ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion