numpy array product driving me mad

Mr. Twister mr at twister.com
Fri Mar 20 09:42:14 EDT 2015


>> I think that you want 
>>
>>     P * R[;,None]
> 
> Sorry, I meant 
> 
>     P * R[:, None]
> 
> Manolo

Muchísimas gracias, Manolo. Eres un genio y me has ayudado mucho. Te debo una.



More information about the Python-list mailing list