Re: [Numpy-discussion] numpy.array(arr.flat) mutates arr if arr.flags.fortran: bug?

2010-03-25 Thread Travis Oliphant
On Mar 24, 2010, at 2:13 PM, Zachary Pincus wrote: > Hello, > > I assume it is a bug that calling numpy.array() on a flatiter of a > fortran-strided array that owns its own data causes that array to be > rearranged somehow? > > Not sure what happens with a fancier-strided array that also owns its

Re: [Numpy-discussion] f2py: "could not crack entity declaration"

2010-03-25 Thread Pearu Peterson
Try renaming GLMnet.f90 to GLMnet.f. HTH, Pearu David Warde-Farley wrote: > I decided to give wrapping this code a try: > > http://morrislab.med.utoronto.ca/~dwf/GLMnet.f90 > > I'm afraid my Fortran skills are fairly limited, but I do know that > gfortran compiles it fine. f2py run on th

[Numpy-discussion] f2py: "could not crack entity declaration"

2010-03-25 Thread David Warde-Farley
I decided to give wrapping this code a try: http://morrislab.med.utoronto.ca/~dwf/GLMnet.f90 I'm afraid my Fortran skills are fairly limited, but I do know that gfortran compiles it fine. f2py run on this file produces lots of errors of the form, Reading fortran codes... Read

Re: [Numpy-discussion] should ndarray implement __round__ for py3k?

2010-03-25 Thread Charles R Harris
On Thu, Mar 25, 2010 at 2:58 PM, Pauli Virtanen wrote: > Darren Dale wrote: > > A simple test in python 3: > > > > > > > import numpy as np > > > > > round(np.arange(10)) > > Traceback (most recent call last): > >File "", line 1, in > > TypeError: type numpy.ndarray doesn't define __round__

Re: [Numpy-discussion] should ndarray implement __round__ for py3k?

2010-03-25 Thread Pauli Virtanen
Darren Dale wrote: > A simple test in python 3: > > > > > import numpy as np > > > > round(np.arange(10)) > Traceback (most recent call last): >    File "", line 1, in > TypeError: type numpy.ndarray doesn't define __round__ method I implemented this for array scalars already, but forgot about ar

Re: [Numpy-discussion] should ndarray implement __round__ for py3k?

2010-03-25 Thread Robert Kern
On Thu, Mar 25, 2010 at 15:01, Darren Dale wrote: > A simple test in python 3: > import numpy as np round(np.arange(10)) > Traceback (most recent call last): >  File "", line 1, in > TypeError: type numpy.ndarray doesn't define __round__ method > > Here is some additional context: http:

[Numpy-discussion] should ndarray implement __round__ for py3k?

2010-03-25 Thread Darren Dale
A simple test in python 3: >>> import numpy as np >>> round(np.arange(10)) Traceback (most recent call last): File "", line 1, in TypeError: type numpy.ndarray doesn't define __round__ method Here is some additional context: http://bugs.python.org/issue7261 Darren

Re: [Numpy-discussion] partial autocorrelation function

2010-03-25 Thread Skipper Seabold
On Thu, Mar 25, 2010 at 11:25 AM, wrote: > On Thu, Mar 25, 2010 at 11:20 AM, Skipper Seabold wrote: >> On Thu, Mar 25, 2010 at 11:10 AM, Mark Bakker wrote: >>> Anybody know of a partial autocorrelation function in numpy? Maybe in scipy? >>> >>> Thanks, >>> >>> Mark >>> >>> ps. I know, not too d

Re: [Numpy-discussion] partial autocorrelation function

2010-03-25 Thread josef . pktd
On Thu, Mar 25, 2010 at 11:20 AM, Skipper Seabold wrote: > On Thu, Mar 25, 2010 at 11:10 AM, Mark Bakker wrote: >> Anybody know of a partial autocorrelation function in numpy? Maybe in scipy? >> >> Thanks, >> >> Mark >> >> ps. I know, not too difficult, but if it is around I'd be happy to use it.

Re: [Numpy-discussion] partial autocorrelation function

2010-03-25 Thread josef . pktd
On Thu, Mar 25, 2010 at 11:14 AM, wrote: > On Thu, Mar 25, 2010 at 11:10 AM, Mark Bakker wrote: >> Anybody know of a partial autocorrelation function in numpy? Maybe in scipy? >> >> Thanks, >> >> Mark >> >> ps. I know, not too difficult, but if it is around I'd be happy to use it. We have parti

Re: [Numpy-discussion] partial autocorrelation function

2010-03-25 Thread Skipper Seabold
On Thu, Mar 25, 2010 at 11:10 AM, Mark Bakker wrote: > Anybody know of a partial autocorrelation function in numpy? Maybe in scipy? > > Thanks, > > Mark > > ps. I know, not too difficult, but if it is around I'd be happy to use it. > I'm sure there's another version somewhere, but I couldn't find

Re: [Numpy-discussion] partial autocorrelation function

2010-03-25 Thread josef . pktd
On Thu, Mar 25, 2010 at 11:10 AM, Mark Bakker wrote: > Anybody know of a partial autocorrelation function in numpy? Maybe in scipy? > > Thanks, > > Mark > > ps. I know, not too difficult, but if it is around I'd be happy to use it. > > ___ > NumPy-Discus

[Numpy-discussion] partial autocorrelation function

2010-03-25 Thread Mark Bakker
Anybody know of a partial autocorrelation function in numpy? Maybe in scipy? Thanks, Mark ps. I know, not too difficult, but if it is around I'd be happy to use it. ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mail

Re: [Numpy-discussion] draft release guide

2010-03-25 Thread David Cournapeau
On Thu, Mar 25, 2010 at 9:33 PM, Francesc Alted wrote: > > Ok.  So it seems the MS compiler venue for 64-bit is unavoidable (at this > moment, at least).  One question though: is a fortran compiler really > necessary for compiling just numpy? No, but I personally have little interest in numpy wi

Re: [Numpy-discussion] draft release guide

2010-03-25 Thread Francesc Alted
A Thursday 25 March 2010 10:53:34 David Cournapeau escrigué: > Believe it or not, but this is already much better than what I had last > time I looked at it (the stack was corrupted after two items, and gdb > often crashed). I had to build custom mingw runtimes to get there last > year :) Well, I'

Re: [Numpy-discussion] draft release guide

2010-03-25 Thread David Cournapeau
Francesc Alted wrote: > > C:\Users\francesc\Desktop\NumPy>gdb python > GNU gdb (GDB) 7.1.50.20100318-cvs > Copyright (C) 2010 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistri

Re: [Numpy-discussion] draft release guide

2010-03-25 Thread Francesc Alted
A Thursday 25 March 2010 02:00:36 David Cournapeau escrigué: > Hosted compiler refers to the platform the compiler itself runs on (so > here I mean a native 64 bits compiler, instead of a 32 bits compiler > which targets 64 bits). It is nice that mingw-w64 gives a 64 bits > hosted, that's recent.

Re: [Numpy-discussion] Hiring: Software Developer, Scientific Applications

2010-03-25 Thread David Goldsmith
On Thu, Mar 25, 2010 at 1:21 AM, David Goldsmith wrote: > Is telecommuting an option? > > DG Sorry, I didn't mean to send that to the list. :-( DG > On Wed, Mar 24, 2010 at 4:44 PM, Amenity Applewhite > wrote: >> >> Enthought is hiring a Software Developer. >> See the description below, or on

Re: [Numpy-discussion] Hiring: Software Developer, Scientific Applications

2010-03-25 Thread David Goldsmith
Is telecommuting an option? DG On Wed, Mar 24, 2010 at 4:44 PM, Amenity Applewhite wrote: > > Enthought is hiring a Software Developer. > See the description below, or on our > website: http://www.enthought.com/company/sd-scientific-app.php > Best, > Amenity > -- > Amenity Applewhite > Enthought