[Numpy-discussion] expressed dislike

2006-11-03 Thread Pages
Ironware and up ant reg?Idiom is humorous effect criticized adhering expressed. Middotsign middothelp am Username forin postsin tagsin is.Idiom is humorous effect criticized adhering expressed.Xen in Paul rage days Advances well increasing energy make. Person a Cutter lossless am wav cuttin

[Numpy-discussion] Americans highly declined percent

2006-11-03 Thread require
Ee in spec task potential hazards model.Aristocats Rescuers Newhart Pocahontas! Accounting Admin Clerical Banking Biotech Consultant a Customer Education a.Aristocats Rescuers Newhart Pocahontas!Shell services committed of furthering volunteers or Compliance. Img off Pingbacks. Muffin am Cr

Re: [Numpy-discussion] Reading records from file and sorting

2006-11-03 Thread Travis Oliphant
George Sakkis wrote: > Albert Strasheim wrote: > > >> Check the thread "Strange results when sorting array with fields" from >> about a week back. Travis made some changes to sorting in the presence >> of fields that should solve your problem, assuming your fields appear in >> the order you want

[Numpy-discussion] День удался

2006-11-03 Thread Info
Добрый день! - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based o

Re: [Numpy-discussion] numpy.repeat TypeError: array cannot be safely cast to required type

2006-11-03 Thread Tim Hochberg
George Sakkis wrote: > Tim Hochberg wrote: > > >> George Sakkis wrote: >> >>> Can anyone explain this ? >>> >>> >>> >> import numpy as N >> x = N.arange(1,6,dtype='B') >> x >> >> >>> array([1, 2, 3, 4, 5], dtype=uint8) >>> >>> >> N.repeat(x

[Numpy-discussion] I won't be as visible for a few weeks

2006-11-03 Thread Travis Oliphant
I'm writing this to indicate that I won't be as visible on the lists for a few weeks as I have some pressing matters to attend to that will take more of my time. I apologize for not being able to help more right now. Best regards, -Travis Oliphant --

Re: [Numpy-discussion] numpy.repeat TypeError: array cannot be safely cast to required type

2006-11-03 Thread George Sakkis
Tim Hochberg wrote: > George Sakkis wrote: > > Can anyone explain this ? > > > > > import numpy as N > x = N.arange(1,6,dtype='B') > x > > > array([1, 2, 3, 4, 5], dtype=uint8) > > > N.repeat(x, N.ones(5,'H')) > > > array([1, 2, 3, 4, 5], dtype=uint8) > > > N.rep

Re: [Numpy-discussion] numpy.repeat TypeError: array cannot be safely cast to required type

2006-11-03 Thread Tim Hochberg
George Sakkis wrote: > Can anyone explain this ? > > import numpy as N x = N.arange(1,6,dtype='B') x > array([1, 2, 3, 4, 5], dtype=uint8) > N.repeat(x, N.ones(5,'H')) > array([1, 2, 3, 4, 5], dtype=uint8) > N.repeat(x, N.ones(5,'l')) >>

[Numpy-discussion] numpy.repeat TypeError: array cannot be safely cast to required type

2006-11-03 Thread George Sakkis
Can anyone explain this ? >>> import numpy as N >>> x = N.arange(1,6,dtype='B') >>> x array([1, 2, 3, 4, 5], dtype=uint8) >>> N.repeat(x, N.ones(5,'H')) array([1, 2, 3, 4, 5], dtype=uint8) >>> N.repeat(x, N.ones(5,'l')) array([1, 2, 3, 4, 5], dtype=uint8) >>> N.repeat(x, N.ones(5,'L')) Traceback (

[Numpy-discussion] Getting an array of indexes from a unicode string

2006-11-03 Thread Shane Holloway
I'm looking for a better way to map the characters of a unicode string to indexes into an array of geometry. The following code is functional, but it seems sub-optimal with all that numpy has to offer:: textOrds = map(ord, text.encode('utf-8')) idx = indexMap[textOrds] textGeo

Re: [Numpy-discussion] Need more comments from scientific community on python-dev

2006-11-03 Thread Alexander Belopolsky
On 11/3/06, Torgil Svensson <[EMAIL PROTECTED]> wrote: > class struct_type(Structure): > _fields_ = [] > > ... > ... which is somewhat static in nature. How do you create "structures" > dynamically? > You can put the above in a function that takes fields as an argument, or type('struc

Re: [Numpy-discussion] Setting runtime_library_dirs while building numpy

2006-11-03 Thread Albert Chin
On Fri, Nov 03, 2006 at 05:19:09PM +0100, Karol Langner wrote: > On Friday 03 of November 2006 16:09, Albert Chin wrote: > > We have atlas-3.6.0 installed in a non-standard location. When > > building the numpy-1.0 shared libraries, we'd like to encode the > > non-standard location in the RPATH of

Re: [Numpy-discussion] numarray indexing problems with Python2.5 and 64-bit platforms

2006-11-03 Thread Francesc Altet
A Dijous 02 Novembre 2006 22:26, A. M. Archibald escrigué: > On 02/11/06, Francesc Altet <[EMAIL PROTECTED]> wrote: > > I see this as a major issue in numarray and poses in great danger the > > intended support of PyTables for numarray that we planned for some time > > (until end of 2007). It would

[Numpy-discussion] Numeric 24.2 indexing problems with Python 2.5 and 64-bit platforms

2006-11-03 Thread Francesc Altet
Hi, This is just to inform you that I've detected also problems with indexation code in Numeric (24.2) with Python 2.5 and 64-bit platforms. The next reproduces the issue: >>> a=Numeric.array([1,0]) >>> a array([1, 0]) >>> a[:] zeros((0,), 'l') # ?? # The order of values in the array doesn't see

Re: [Numpy-discussion] Setting runtime_library_dirs while building numpy

2006-11-03 Thread Karol Langner
On Friday 03 of November 2006 16:09, Albert Chin wrote: > We have atlas-3.6.0 installed in a non-standard location. When > building the numpy-1.0 shared libraries, we'd like to encode the > non-standard location in the RPATH of the executable. We do this with > other Python modules by adding the fo

[Numpy-discussion] Setting runtime_library_dirs while building numpy

2006-11-03 Thread Albert Chin
We have atlas-3.6.0 installed in a non-standard location. When building the numpy-1.0 shared libraries, we'd like to encode the non-standard location in the RPATH of the executable. We do this with other Python modules by adding the following to setup.cfg: [build_ext] rpath= But, this doesn't

Re: [Numpy-discussion] numarray indexing problems with Pyth on2.5 and 64-bit platforms

2006-11-03 Thread Francesc Altet
Hi Todd, A Dijous 02 Novembre 2006 22:04, Todd Miller escrigué: > Here's a stab at a solution but I don't have easy access to 64-bit linux > at the moment so it is untested. If someone is willing to test it > (and/or fix it) I'll add it to the next numarray release. It should be > noted that nu

[Numpy-discussion] Warning: message 1GfAoO-0007im-Sh delayed 48 hours

2006-11-03 Thread Mail Delivery System
This message was created automatically by mail delivery software. A message that you sent has not yet been delivered to one or more of its recipients after more than 48 hours on the queue on externalmx-1.sourceforge.net. The message identifier is: 1GfAoO-0007im-Sh The subject of the message i