Re: [Numpy-discussion] any better way to normalise a matrix

2007-12-27 Thread [EMAIL PROTECTED]
> try starting with the tutorial: > http://www.scipy.org/Tentative_NumPy_Tutorial > > For example, to extract an array containing the maxima of each row of > mymatrix, you can use the amax() function: > > temp = numpy.amax(mymatrix, axis=1) > > thanx..had a tuff time finding the functions..will

Re: [Numpy-discussion] [SciPy-dev] Doc-day

2007-12-27 Thread Fernando Perez
On Dec 27, 2007 10:50 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote: > > I also think that the above wiki page should have a minimal, > > self-contained example of a proper docstring with all 8 sections > > implemented. I'm honestly not sure at this point what the actual > > changes to epydoc are

Re: [Numpy-discussion] [SciPy-dev] Doc-day

2007-12-27 Thread Jarrod Millman
On Dec 27, 2007 9:41 PM, Fernando Perez <[EMAIL PROTECTED]> wrote: > Care to make the Example section mandatory, instead of optional? I > really think it should be mandatory. We may not do a good job of it > initially, but at least we should express that it's of critical > importance that every f

Re: [Numpy-discussion] [SciPy-dev] Doc-day

2007-12-27 Thread Fernando Perez
On Dec 27, 2007 10:27 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote: > Since this is our first doc-day, it will be fairly informal. Travis > is going to be trying to get some estimate of which packages need the > most work. But if there is some area of NumPy or SciPy you are > familiar with, plea

Re: [Numpy-discussion] [SciPy-dev] Doc-day

2007-12-27 Thread Jarrod Millman
On Dec 27, 2007 7:42 PM, Travis E. Oliphant <[EMAIL PROTECTED]> wrote: > Doc-day will start tomorrow (in about 12 hours). It will be Friday for > much of America and be moving into Saturday for Europe and Asia. Join > in on the irc.freenode.net (channel scipy) to coordinate effort. I > imaging

Re: [Numpy-discussion] any better way to normalise a matrix

2007-12-27 Thread Anne Archibald
On 27/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > in my code i am trying to normalise a matrix as below > > mymatrix=matrix(..# items are of double type..can be negative > values) > numrows,numcols=mymatrix.shape > > for i in range(numrows): > temp=mymatrix[i].max() >

[Numpy-discussion] any better way to normalise a matrix

2007-12-27 Thread [EMAIL PROTECTED]
in my code i am trying to normalise a matrix as below mymatrix=matrix(..# items are of double type..can be negative values) numrows,numcols=mymatrix.shape for i in range(numrows): temp=mymatrix[i].max() for j in range(numcols): mymatrix[i,j]=abs(mymatrix[i,j]/t

[Numpy-discussion] Doc-day

2007-12-27 Thread Travis E. Oliphant
Doc-day will start tomorrow (in about 12 hours). It will be Friday for much of America and be moving into Saturday for Europe and Asia. Join in on the irc.freenode.net (channel scipy) to coordinate effort. I imaging people will be in an out. I plan on being available in IRC from about 9:3

Re: [Numpy-discussion] Scipy server down...

2007-12-27 Thread Bryce Hendrix
Looks like the web site & svn are up for me. Bryce Fernando Perez wrote: > Any chance it might be brought back up? (I'm trying to commit the > weave cleanup work Min did at the sprint...) > > Thanks, > > f > ___ > Numpy-discussion mailing list > Numpy-d

Re: [Numpy-discussion] SciPy Sprint results

2007-12-27 Thread Fernando Perez
On Dec 19, 2007 11:52 AM, Travis E. Oliphant <[EMAIL PROTECTED]> wrote: > Testing > - > * scipy unit-testing will be "nose-compliant" and therefore nose will > be required to run the SciPy tests. > * NumPy will still use the current testing framework but will support > SciPy's desire t

Re: [Numpy-discussion] [SciPy-user] Scipy server down...

2007-12-27 Thread Fernando Perez
On Dec 27, 2007 2:11 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote: > I restarted httpd. It is still slow, but seems to be responsive now. > Let me know if it still isn't working. SVN is working again, thanks. Cheers, f ___ Numpy-discussion mailing lis

Re: [Numpy-discussion] [SciPy-user] Scipy server down...

2007-12-27 Thread Jarrod Millman
I restarted httpd. It is still slow, but seems to be responsive now. Let me know if it still isn't working. On Dec 27, 2007 1:04 PM, Fernando Perez <[EMAIL PROTECTED]> wrote: > Any chance it might be brought back up? (I'm trying to commit the > weave cleanup work Min did at the sprint...) > > Th

[Numpy-discussion] Scipy server down...

2007-12-27 Thread Fernando Perez
Any chance it might be brought back up? (I'm trying to commit the weave cleanup work Min did at the sprint...) Thanks, f ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] non uniform random number generator

2007-12-27 Thread Nadav Horesh
Lot of nonuniform distributions, see numpy.random module. Nadav. -Original Message- From: [EMAIL PROTECTED] on behalf of dikshie Sent: Thu 27-Dec-07 17:45 To: numpy-discussion@scipy.org Subject: [Numpy-discussion] non uniform random number generator hi, does numpy support non unifor

Re: [Numpy-discussion] non uniform random number generator

2007-12-27 Thread Matthieu Brucher
Hi, Of course, look in the numpy.random module. Matthieu 2007/12/27, dikshie <[EMAIL PROTECTED]>: > > hi, > does numpy support non uniform random number generator ? > > regards, > > -dikshie- > ___ > Numpy-discussion mailing list > Numpy-discussion@sci

[Numpy-discussion] non uniform random number generator

2007-12-27 Thread dikshie
hi, does numpy support non uniform random number generator ? regards, -dikshie- ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] [C++-sig] Overloading sqrt(5.5)*myvector

2007-12-27 Thread Kevin Jacobs <[EMAIL PROTECTED]>
Hi Bruce, I have to add that I don't know the answer to your question either, but I do know that it is solvable and that once the list experts return, enlightenment will soon follow. My confidence comes from knowing the Python internals for how left and right multiplication are performed. As lon

Re: [Numpy-discussion] [C++-sig] Overloading sqrt(5.5)*myvector

2007-12-27 Thread Bruce Sherwood
I should have added: This structure worked with the older version of VPython which used Numeric, but it doesn't work in the beta version which uses numpy. Since I don't know enough about either numpy or Boost, I'm left guessing which subsystem is the source of my difficulties, and clueless abou

Re: [Numpy-discussion] [C++-sig] Overloading sqrt(5.5)*myvector

2007-12-27 Thread Bruce Sherwood
Thanks for the comment, which limits the range of possible solutions. The VPython vector class is implemented in C++, not in Python. I made up the simple test in my previous note to try out the solution that had been offered and which you have usefully ruled out. Here is the relevant part of th