Re: [Numpy-discussion] comments on r_ and c_ ?

2006-08-06 Thread Bill Baxter
On 8/1/06, Travis Oliphant <[EMAIL PROTECTED]> wrote: > Bill Baxter wrote: > > When you have a chance, could the powers that be make some comment on > > the r_ and c_ situation? > r_ and c_ were in SciPy and have been there for several years. > > For NumPy, c_ has been deprecated (but not removed b

Re: [Numpy-discussion] fixing diag() for matrices

2006-08-06 Thread Sven Schreiber
Charles R Harris schrieb: > Hi Sven, > > On 7/28/06, *Sven Schreiber* <[EMAIL PROTECTED] > > wrote: > > Here's my attempt at summarizing the diag-discussion. > > > > > 2) Deprecate the use of diag which is overloaded with making diagonal > matrices as wel

Re: [Numpy-discussion] divmod issue

2006-08-06 Thread Robert Kern
David Grant wrote: > The following lines of code: > > from numpy import floor > div, mod = divmod(floor(1.5), 12) > > generate an exception: > > ValueError: need more than 0 values to unpack > > in numpy-0.9.8. Does anyone else see this? It might be due to the fact > that floor returns a float

[Numpy-discussion] divmod issue

2006-08-06 Thread David Grant
The following lines of code:from numpy import floordiv, mod = divmod(floor(1.5), 12)generate an exception:ValueError: need more than 0 values to unpackin numpy-0.9.8. Does anyone else see this? It might be due to the fact that floor returns a float64scalar. Should I be forced to cast that to an int

Re: [Numpy-discussion] NumPy documentation

2006-08-06 Thread Robert Kern
David Grant wrote: > What about the documentation that already exists here: http://www.tramy.us/ Essentially every function and class needs a docstring whether or not there is a manual available. Neither one invalidates the need for the other. -- Robert Kern "I have come to believe that the w