[Numpy-discussion] another broadcast/fancy indexing question

Mark.Miller mpmusu@cc.usu....
Tue Jul 10 16:50:08 CDT 2007


Sorry...can you clarify?  I think that some of your message got cut off.

-Mark

Timothy Hochberg wrote:
> It's because you are using arrays as indices (aka Fancy-Indexing). When 
> you do this everything works differently. In this case, everything is 
> being broadcast to the same shape. As I understand it (and I try to use 
> only the simplest forms of fancy indexing), what you are doing is 
> equivalent to:
> 
> -- 
> .  __
> .   |-\
> .


More information about the Numpy-discussion mailing list