[Numpy-discussion] Numpy performance vs Matlab.

Sturla Molden sturla at molden.no
Fri Jan 9 16:49:27 EST 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