Re: [Numpy-discussion] NumpyTest problem

2008-06-10 Thread Charles R Harris
On Tue, Jun 10, 2008 at 8:49 PM, David Huard <[EMAIL PROTECTED]> wrote: > Charles, > > This bug appeared after your change in r5217: > > Index: numpytest.py > === > --- numpytest.py(révision 5216) > +++ numpytest.py(ré

Re: [Numpy-discussion] NumpyTest problem

2008-06-10 Thread David Huard
Charles, This bug appeared after your change in r5217: Index: numpytest.py === --- numpytest.py(révision 5216) +++ numpytest.py(révision 5217) @@ -527,7 +527,7 @@ all_tests = unittest.TestSuite(suite_list)

Re: [Numpy-discussion] Large symmetrical matrix

2008-06-10 Thread Robert Kern
On Tue, Jun 10, 2008 at 18:53, Simon Palmer <[EMAIL PROTECTED]> wrote: > Hi I have a problem which involves the creation of a large square matrix > which is zero across its diagonal and symmetrical about the diagonal i.e. > m[i,j] = m[j,i] and m[i,i] = 0. So, in fact, it is a large triangular > ma

[Numpy-discussion] Large symmetrical matrix

2008-06-10 Thread Simon Palmer
Hi I have a problem which involves the creation of a large square matrix which is zero across its diagonal and symmetrical about the diagonal i.e. m[i,j] = m[j,i] and m[i,i] = 0. So, in fact, it is a large triangular matrix. I was wondering whether there is any way of easily handling a matrix of

Re: [Numpy-discussion] Cookbook/Documentation

2008-06-10 Thread Christopher Burns
Excellent, thanks Stefan! On Tue, Jun 10, 2008 at 3:31 PM, Stéfan van der Walt <[EMAIL PROTECTED]> wrote: > Hi Chris > > 2008/6/11 Christopher Burns <[EMAIL PROTECTED]>: >> Where is the "CookBookCategory"? I'm afraid I don't understand that >> reference below. Are there plans to auto-generate th

Re: [Numpy-discussion] Cookbook/Documentation

2008-06-10 Thread Stéfan van der Walt
Hi Chris 2008/6/11 Christopher Burns <[EMAIL PROTECTED]>: > Where is the "CookBookCategory"? I'm afraid I don't understand that > reference below. Are there plans to auto-generate the content in the > Cookbook Recipes (http://www.scipy.org/Cookbook) or is it still > reasonable for me to edit tho

Re: [Numpy-discussion] Cookbook/Documentation

2008-06-10 Thread Christopher Burns
Where is the "CookBookCategory"? I'm afraid I don't understand that reference below. Are there plans to auto-generate the content in the Cookbook Recipes (http://www.scipy.org/Cookbook) or is it still reasonable for me to edit those pages? Thanks, Chris On Mon, May 19, 2008 at 10:02 AM, Stéfan

[Numpy-discussion] Plans for Scipy Tutorials

2008-06-10 Thread Fernando Perez
Hi all, I've now put up the near-final tutorial plans for SciPy 2008 here: http://conference.scipy.org/tutorials If your name is listed there and you disagree/can't make it, please let me and Travis Oliphant know as soon as possible. As the various presenters fine-tune their plan, we'll update

Re: [Numpy-discussion] problems building in cygwin under vmware

2008-06-10 Thread Chris Kees
The solution to this problem (roll back binutils to the previous cygwin version or fix numpy) is here: http://www.scipy.org/scipy/numpy/ticket/811 On Jun 9, 2008, at 2:41 PM, Chris Kees wrote: > Hi, > > I'm getting an assembler error "Error: suffix or operands invalid for > `fnstsw'" while tr

Re: [Numpy-discussion] Coverting ranks to a Gaussian

2008-06-10 Thread Dag Sverre Seljebotn
Keith Goodman wrote: > I'd rather not pull in a scipy dependency for one function if there is > a numpy alternative. I think it is funny that you picked up on my > brief mention of scipy and called it unreasonable. > (I didn't follow this exact discussion, arguing from general principles here a

Re: [Numpy-discussion] Inplace shift

2008-06-10 Thread Keith Goodman
On Sat, Jun 7, 2008 at 6:48 PM, Anne Archibald <[EMAIL PROTECTED]> wrote: > 2008/6/7 Keith Goodman <[EMAIL PROTECTED]>: >> On Fri, Jun 6, 2008 at 10:46 PM, Anne Archibald >> <[EMAIL PROTECTED]> wrote: >>> 2008/6/6 Keith Goodman <[EMAIL PROTECTED]>: I'd like to shift the columns of a 2d array o

Re: [Numpy-discussion] Coverting ranks to a Gaussian

2008-06-10 Thread Keith Goodman
On Tue, Jun 10, 2008 at 12:56 AM, Anne Archibald <[EMAIL PROTECTED]> wrote: > 2008/6/9 Keith Goodman <[EMAIL PROTECTED]>: >> Does anyone have a function that converts ranks into a Gaussian? >> >> I have an array x: >> import numpy as np x = np.random.rand(5) >> >> I rank it: >> x = x

Re: [Numpy-discussion] Switching to nose test framework (was: NumpyTest problem)

2008-06-10 Thread Stéfan van der Walt
2008/6/10 Alan McIntyre <[EMAIL PROTECTED]>: > Is the stuff Robert pointed out on a wiki page somewhere? It would be > nice to have a "Welcome noob NumPy developer, here's how to do > NumPy-specific development things," page. There may be such a page, > but I just haven't stumbled across it yet. W

Re: [Numpy-discussion] Coverting ranks to a Gaussian

2008-06-10 Thread Anne Archibald
2008/6/9 Keith Goodman <[EMAIL PROTECTED]>: > Does anyone have a function that converts ranks into a Gaussian? > > I have an array x: > >>> import numpy as np >>> x = np.random.rand(5) > > I rank it: > >>> x = x.argsort().argsort() >>> x_ranked = x.argsort().argsort() >>> x_ranked > array([3, 1,