Hi, Le 28/06/2012 15:35, Travis Oliphant a écrit : > It really is inplace. As Nathaniel mentioned --- all ufuncs take an out > keyword. > > The inplace mechanism uses this so that one input and the output are the same. Thanks for the feedback about inplace assignment.
On the other hand, just like srean mentionned, I think I also misused the "c[:] = a+b" syntax. I feel it's a bit confusing since this way of writing the assignment really feels likes it happens inplace. Good to know it's not the case. Best, Pierre
signature.asc
Description: OpenPGP digital signature
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion