Re: [Numpy-discussion] Support for understand ctypes data-types now in SVN

2006-11-17 Thread Travis Oliphant
Stefan van der Walt wrote: >On Fri, Nov 17, 2006 at 12:43:45PM -0700, Travis Oliphant wrote: > > >>The NumPy dtype command now understands ctypes data-types including >>derived structures and arrays. >> >>This means you can specify data-types using ctypes method of building >>structures and pa

Re: [Numpy-discussion] Support for understand ctypes data-types now in SVN

2006-11-17 Thread Stefan van der Walt
On Fri, Nov 17, 2006 at 12:43:45PM -0700, Travis Oliphant wrote: > > The NumPy dtype command now understands ctypes data-types including > derived structures and arrays. > > This means you can specify data-types using ctypes method of building > structures and pass those classes whenever NumPy

[Numpy-discussion] Support for understand ctypes data-types now in SVN

2006-11-17 Thread Travis Oliphant
The NumPy dtype command now understands ctypes data-types including derived structures and arrays. This means you can specify data-types using ctypes method of building structures and pass those classes whenever NumPy expects a data-type object. Simple example: import ctypes as ct import num

Re: [Numpy-discussion] mysql -> record array

2006-11-17 Thread Francesc Altet
Hi, First of all, sorry that I've mixed t1, t2 and t3 in my previous message (don't doing an overhaul before sending a message has consequences :(). I'd try to clarify things here along introducing new timings and other discoveries. Then, as the message below is quite long, I will mention now my

[Numpy-discussion] Digests (was Re: mysql -> record array)

2006-11-17 Thread Robert Kern
Eric Emsellem wrote: > Hi, > I am getting all the individual emails from the numpy discussion (and > not the bundles), directly from their authors: something is wrong with > the new list I think. I'm not sure I understand you. If you mean that you were getting digests on the old list and not now,

Re: [Numpy-discussion] mysql -> record array

2006-11-17 Thread Erin Sheldon
Those preferences did not make it through. You have to go back and re-check that preference. Erin On 11/17/06, Eric Emsellem <[EMAIL PROTECTED]> wrote: > Hi, > I am getting all the individual emails from the numpy discussion (and > not the bundles), directly from their authors: something is wrong

[Numpy-discussion] numpy.test

2006-11-17 Thread Keith Goodman
I'd like to add numpy.test(level=10, verbosity=0) to the top of my program. Is there a way for my program to find out if all tests passed? Or even better, how many tests ran and how many of those failed. Is there any way to suppress all output of numpy.test? verbosity=0 stops most, but not all, o

Re: [Numpy-discussion] mysql -> record array

2006-11-17 Thread Eric Emsellem
Hi, I am getting all the individual emails from the numpy discussion (and not the bundles), directly from their authors: something is wrong with the new list I think. cheers Eric ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://project

Re: [Numpy-discussion] mysql -> record array

2006-11-17 Thread Francesc Altet
A Dijous 16 Novembre 2006 22:28, Erin Sheldon escrigué: > Hi Francesc - > > Unless I missed something, I think what you have > shown is that the combination of > (getting data from database into python lists) + > (converting to arrays) > is what is taking time. I would guess the first

Re: [Numpy-discussion] Defining custom types

2006-11-17 Thread David Douard
On Thu, Nov 16, 2006 at 01:28:25PM -0600, Jonathan Wang wrote: > Hi all, > > I've gotten to the point where Numpy recognizes the objects (represented as > doubles), but I haven't figured out how to register ufunc loops on the > custom type. It seems like Numpy should be able to check that the scal