Re: [Numpy-discussion] Bento question: Fortran 90 & Cython support

2010-08-12 Thread David
Hi Kurt, On 08/13/2010 03:40 AM, Kurt Smith wrote: > Hi, > > I'm very interested in Bento and think it will be a killer project. > > My question: do you anticipate supporting Fortran 90 within Bento, or > will that be delegated to an external build tool? Bento does not support building at all. Th

[Numpy-discussion] ndarray.copy does not accept keyword argument

2010-08-12 Thread Lutz Maibaum
According to the docstring, ndarray.copy should accept a keyword argument "order". This doesn't seem to work for me: >>> np.array([[1,2],[3,4]]).copy(order='C') Traceback (most recent call last): File "", line 1, in TypeError: copy() takes no keyword arguments Calling ndarray.copy with a posi

Re: [Numpy-discussion] two dimensional array of sets

2010-08-12 Thread David Warde-Farley
On 2010-08-12, at 5:54 PM, gerardob wrote: > As i wrote, the elements of each A[i][j] are sets and not numbers. Ah, missed that part. Assuming you don't need/want these sets to be mutable or differently sized, you could do something like this. Here we make 'n' an array of the numbers 0 to 49,

Re: [Numpy-discussion] Broken links on new.scipy

2010-08-12 Thread David Warde-Farley
Thanks Gokhan, I'll push that tonight (along with lots of other changes). I just got the necessary permissions the other day and haven't had much time this week. David On 2010-08-06, at 3:30 PM, Gökhan Sever wrote: > Hi, > > @ http://new.scipy.org/download.html numpy and scipy links for Fedor

Re: [Numpy-discussion] 1.5.0 release notes

2010-08-12 Thread Pauli Virtanen
> Also, what is the status of PEP 3118 compatibility? Can someone who knows > write a few sentences on that? The features in the spec are (should be) completely supported now. You can probably add the following: The new buffer protocol described by PEP 3118 is fully supported in this version of

Re: [Numpy-discussion] two dimensional array of sets

2010-08-12 Thread Benjamin Root
On Thu, Aug 12, 2010 at 2:59 PM, gerardob wrote: > > Hello, this is a very basic question but i don't know the answer. > > I would like to construct a two dimensional array A, such that A[i][j] > contains a set of numbers associated to the pair (i,j). For example, > A[i][j] > can be all the numbe

Re: [Numpy-discussion] two dimensional array of sets

2010-08-12 Thread gerardob
As i wrote, the elements of each A[i][j] are sets and not numbers. David Warde-Farley-2 wrote: > > On 2010-08-12, at 3:59 PM, gerardob wrote: > >> >> Hello, this is a very basic question but i don't know the answer. >> >> I would like to construct a two dimensional array A, such that A[i][j]

Re: [Numpy-discussion] two dimensional array of sets

2010-08-12 Thread Ian Mallett
Hi, You can use np.mgrid to construct a grid of coordinates. From there, you can make your new array based on these coordinates however you like. Ian ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/nu

Re: [Numpy-discussion] two dimensional array of sets

2010-08-12 Thread David Warde-Farley
On 2010-08-12, at 3:59 PM, gerardob wrote: > > Hello, this is a very basic question but i don't know the answer. > > I would like to construct a two dimensional array A, such that A[i][j] > contains a set of numbers associated to the pair (i,j). For example, A[i][j] > can be all the numbers that

[Numpy-discussion] two dimensional array of sets

2010-08-12 Thread gerardob
Hello, this is a very basic question but i don't know the answer. I would like to construct a two dimensional array A, such that A[i][j] contains a set of numbers associated to the pair (i,j). For example, A[i][j] can be all the numbers that are written as i^n*j*5-n for some all n=1,..,5 Is nump

[Numpy-discussion] Bento question: Fortran 90 & Cython support

2010-08-12 Thread Kurt Smith
Hi, I'm very interested in Bento and think it will be a killer project. My question: do you anticipate supporting Fortran 90 within Bento, or will that be delegated to an external build tool? There are some intricacies with Fortran 90 that make it difficult to use with the usual configure-then-b

[Numpy-discussion] Bug report.

2010-08-12 Thread Charles R Harris
Here . Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Numpy datetime support

2010-08-12 Thread Ralf Gommers
On Thu, Aug 12, 2010 at 4:24 AM, John Salvatier wrote: > Hello, > > I am an eager for numpy datetime support, but I have not heard about it > recently. Last I heard it was taken out of 1.4 because of some compatibility > issues. When will datetime be a full numpy feature? > > It will also not be i

[Numpy-discussion] 1.5.0 release notes

2010-08-12 Thread Ralf Gommers
Hi all, Can I ask all of you to please check if there's anything you still have to add to the release notes for 1.5.0 by this Sunday? Also, what is the status of PEP 3118 compatibility? Can someone who knows write a few sentences on that? Thanks, Ralf