[Numpy-discussion] Numpy performance vs Matlab.

Sturla Molden sturla@molden...
Fri Jan 9 15:49:27 CST 2009

>> However, just using the slices on the matrix instead of passing the
>> slices through ogrid is faster.
> So what is ogrid useful for?

For the same problems where you would use meshgrid in Matlab. That is
certain graphics problem for example; e.g. evaluating a surface z = f(x,y)
over a grid of x,y values.

More information about the Numpy-discussion mailing list