On 12/6/2011 9:54 AM, K.-Michael Aye wrote:
> I have a function f(x,y).
>
> I would like to calculate it at x = arange(20,101,20) and y = arange(2,30,2)
>
> How do I store that in a multi-dimensional array and preserve the grid
> points where I did the calculation
In [5]: X, Y = np.meshgrid(range
Dear all,
I can't wrap my head around this. Mathematically it's not hard, I just
don't know how to store and access it without many loops.
I have a function f(x,y).
I would like to calculate it at x = arange(20,101,20) and y = arange(2,30,2)
How do I store that in a multi-dimensional array and