Re: [Numpy-discussion] Some help on matlab to numpy translation

2010-03-14 Thread Bruce Southey
On Sun, Mar 14, 2010 at 7:14 AM, Nicolas Rougier wrote: > > Thanks a lot for the translation. > > I think the "opp" relates to the opp array declared at the top and the > circshift can be made using numpy roll. I modified your translation to > include them. > > The results should be something li

Re: [Numpy-discussion] Some help on matlab to numpy translation

2010-03-14 Thread Nicolas Rougier
Thanks a lot for the translation. I think the "opp" relates to the opp array declared at the top and the circshift can be made using numpy roll. I modified your translation to include them. The results should be something like http://www.lbmethod.org/openlb/gif/karman.avi (I think) but unfor