hello everybody,

first of all thanks to the developed for bumpy which is very useful. I am 
building a software that uses numpy+pyopencl for lattice qcd computations. One 
problem that I am facing is that I need to perform most operations on arrays in 
place and I must avoid creating temporary arrays (because my arrays are many 
gigabyte large).

One typical operation is this

a[i] += const * b[i]

What is the efficient way to do is when a and b are arbitrary arrays?  const is 
usually a complex number.
a and b have the same shape but are not necessarily uni-dimensional.

Massimo

_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to