[Numpy-discussion] String arrays from Python to Fortran

2009-03-22 Thread Jared MacCleary
Hi all, No doubt it's a simple fix, but I'm stumped. I've tried several ways to send an array of strings from Python to a Fortran function, but nothing seems to work. I don't know what I'm missing. My Python and Fortran code are very simple. At this point, I'm just trying to get anything to wor

Re: [Numpy-discussion] memoization with ndarray arguments

2009-03-22 Thread Gael Varoquaux
On Sat, Mar 21, 2009 at 07:18:56PM +0100, Paul Northug wrote: > I would like to 'memoize' the objective, derivative and hessian > functions, each taking a 1d double ndarray argument X, that are passed > as arguments to > scipy.optimize.fmin_ncg. I have develop a library that does this. It uses hea

Re: [Numpy-discussion] Doc update for 1.3.0?

2009-03-22 Thread Pauli Virtanen
Sun, 22 Mar 2009 14:37:28 +0200, Stéfan van der Walt wrote: > 2009/3/22 Pauli Virtanen : >>> There is a small problem, in that when I click on any function is >>> shows that it is set to "No", with the option to change to "Yes" -- >>> even when the current status is yes! >> >> Uh, maybe it's the t

Re: [Numpy-discussion] Doc update for 1.3.0?

2009-03-22 Thread Stéfan van der Walt
2009/3/22 Pauli Virtanen : >> There is a small problem, in that when I click on any function is shows >> that it is set to "No", with the option to change to "Yes" -- even when >> the current status is yes! > > Uh, maybe it's the time of the day, but somehow I fail to understand what > is the probl

Re: [Numpy-discussion] memoization with ndarray arguments

2009-03-22 Thread Gregor Thalhammer
Paul Northug schrieb: > I would like to 'memoize' the objective, derivative and hessian > functions, each taking a 1d double ndarray argument X, that are passed > as arguments to > scipy.optimize.fmin_ncg. > > Each of these 3 functions has calculations in common that are > expensive to compute and

Re: [Numpy-discussion] Unhelpful errors trying to create very large arrays?

2009-03-22 Thread Matthew Brett
Hi, On Sun, Mar 22, 2009 at 1:31 AM, David Cournapeau wrote: > Hi Matthew, > > On Sun, Mar 22, 2009 at 3:08 PM, Matthew Brett > wrote: > >> >> I notice this gives much more helpful memory errors on a 64 bit >> machine with 4GB of memory. > > Can you tell me which version of numpy and which plat

Re: [Numpy-discussion] Unhelpful errors trying to create very large arrays?

2009-03-22 Thread David Cournapeau
Hi Matthew, On Sun, Mar 22, 2009 at 3:08 PM, Matthew Brett wrote: > > I notice this gives much more helpful memory errors on a 64 bit > machine with 4GB of memory. Can you tell me which version of numpy and which platform you are using ? I get a different (and ever more confusing) error message

Re: [Numpy-discussion] Doc update for 1.3.0?

2009-03-22 Thread Charles R Harris
On Sun, Mar 22, 2009 at 12:33 AM, David Cournapeau < da...@ar.media.kyoto-u.ac.jp> wrote: > Charles R Harris wrote: > > > > Let's announce the RC somewhere prominent on the scipy page so it gets > > more notice and testing. I didn't see any mention of the beta when I > > looked today. > > Yes, you