Re: [Numpy-discussion] Question for Travis

2008-05-30 Thread Charles R Harris
On Fri, May 30, 2008 at 1:19 AM, Travis E. Oliphant <[EMAIL PROTECTED]> wrote: > Charles R Harris wrote: > > Travis, > > > > What are the fundamental types for ndarrays? We have the c types, > > 'bBhHiIlLqQfdg', together with the boolean and complex types. Then we > > have types defined by length,

Re: [Numpy-discussion] Question for Travis

2008-05-30 Thread Travis E. Oliphant
Charles R Harris wrote: > Travis, > > What are the fundamental types for ndarrays? We have the c types, > 'bBhHiIlLqQfdg', together with the boolean and complex types. Then we > have types defined by length, int8, uint8, etc. The long types change > length going from 32 to 64 bit machines, so th

[Numpy-discussion] Question for Travis

2008-05-29 Thread Charles R Harris
Travis, What are the fundamental types for ndarrays? We have the c types, 'bBhHiIlLqQfdg', together with the boolean and complex types. Then we have types defined by length, int8, uint8, etc. The long types change length going from 32 to 64 bit machines, so there can be a couple of c-types corresp

Re: [Numpy-discussion] Question for Travis

2008-02-13 Thread Travis E. Oliphant
Charles R Harris wrote: > Travis, > > I notice that you used PyDataMem_NEW, PyDimMem_NEW, and friends to > allocate memory in the sort routines. Is there a good reason to use > these rather than malloc? Only to allow for the possibility of different allocation routines. There is an option to

[Numpy-discussion] Question for Travis

2008-02-13 Thread Charles R Harris
Travis, I notice that you used PyDataMem_NEW, PyDimMem_NEW, and friends to allocate memory in the sort routines. Is there a good reason to use these rather than malloc? Chuck ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.