[SciPy-user] temporary copies for in-place array modification?

Nathan Bell wnbell@gmail....
Tue Jul 29 02:13:48 CDT 2008

On Tue, Jul 29, 2008 at 12:31 AM, Alan G Isaac <aisaac@american.edu> wrote:
>> Maybe. The result is dependent on the memory layout of a.
> What would be the right test for this being ok?
> And would you give an example where this will fail?
> I assumed the implicit loop would always be over the
> elements in the order they appear in the array.

I wouldn't write code that depended on such details.  Doing so means
that any attempt to parallelize the implementation will break your
code in subtle, potentially non-deterministic ways.

Nathan Bell wnbell@gmail.com

More information about the SciPy-user mailing list