On 2015-05-10 14:46:12, Jaime Fernández del Río 
<jaime.f...@gmail.com> wrote:
> Isn't what you are trying to build a cartesian product function? 
> There is a neat, efficient implementation of such a function in 
> StackOverflow, by our own pv.:
>
> http://stackoverflow.com/questions/1208118/using-numpy-to-build-an-array-of-all-combinations-of-two-arrays/1235363#1235363

And a slightly faster version just down that page ;)

Stéfan
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to