On Fri, 05 Oct 2007, Christopher Barker apparently wrote:
> There is a new Python Magazine out there:
> http://www.pythonmagazine.com/
Looks useful.
If you think so too, make sure you library subscribes.
Cheers,
Alan Isaac
___
Numpy-discussion maili
Hello,
the following code seems to create a memory leak in Python.
(around 230 MB).
Any ideas what's wrong ?
I'm using python 2.5 and numpy 1.0.3
---
def toto(x):
return x**2
tutu=vectorize(toto)
Nbins=1
for i in xrange(1000):
c=tutu(arange(Nbins))
--
I'm interested in experimenting with adding complex data type. I
have "Guide to Numpy". I'm looking at section 15.3. It looks like the
first thing is a PyArray_Desc. There doesn't seem to be much info on what
needs to go in this. Does anyone have any examples I could look at?
On Sun, Oct 07, 2007 at 06:52:11AM -0400, Neal Becker wrote:
> Suppose I have a function F(), which is defined for 1-dim arguments. If the
> user passes an n>1 dim array, I want to apply F to each 1-dim view.
> For example, for a 2-d array, apply F to each row and return a 2-d result.
> For a 3-
Neal Becker <[EMAIL PROTECTED]> kirjoitti:
> Suppose I have a function F(), which is defined for 1-dim arguments. If the
> user passes an n>1 dim array, I want to apply F to each 1-dim view.
>
> For example, for a 2-d array, apply F to each row and return a 2-d result.
>
> For a 3-d array, sele
Suppose I have a function F(), which is defined for 1-dim arguments. If the
user passes an n>1 dim array, I want to apply F to each 1-dim view.
For example, for a 2-d array, apply F to each row and return a 2-d result.
For a 3-d array, select each 2-d subarray and see above. Return 3-d result.