Re: [Numpy-discussion] Grief with a complex value

2006-11-10 Thread Gary Ruben
Does anyone think it might be a good idea to split up the examples list? It's getting very big now. I pity any poor modem users (I'm sure they still exist). However, I'm not sure that there's a good way to do it. Gary R. [EMAIL PROTECTED] wrote: >[CJ]: I didn't find "frombuffer" in the Nump

Re: [Numpy-discussion] matlab translation

2006-06-23 Thread Gary Ruben
One possible starting point for this would be Chris Stawarz's i2py translator which attempts to do this for IDL . It might be possible to build on this by getting it working for current numpy. The production rules for MATLAB might be gleaned from Octave.

Re: [Numpy-discussion] .T Transpose shortcut for arrays again

2006-07-07 Thread Gary Ruben
Sasha wrote: > On 7/6/06, Bill Baxter <[EMAIL PROTECTED]> wrote: >> ... >> Yep, like Tim said. The usage is say a N sets of basis vectors. Each set >> of basis vectors is a matrix. > > This brings up a feature that I really miss from numpy: an ability to do > > array([f(x) for x in a]) > > wit

Re: [Numpy-discussion] NumPy beta release plan

2006-07-09 Thread Gary Ruben
Hi Travis, My suggestion: Because you said you want to do a feature freeze, this should be pretty easy to handle. Wait for a feature freeze point then create a 1.0 branch. From then, new stuff can continue going into the trunk. Bug fixes go into the trunk and the 1.0 branch. Gary R. Travis Ol

Re: [Numpy-discussion] numpy.vectorize performance

2006-07-18 Thread Gary Ruben
Nick Fotopoulos wrote: > I've been looking over the wiki and am not sure where the best place > would be for such a snippet. Would it go with the numpy examples > under vectorize or perhaps in a cookbook somewhere? Yes. It seems to me like a cookbook example. In the utopian future, when ther

[Numpy-discussion] possible bug in seed argument

2006-07-27 Thread Gary Ruben
Should >>> seed(1) act the same as >>> seed(array([1])) in the random module? It generates a traceback with the Windows 1.0b1 binary. Gary R. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Tech

Re: [Numpy-discussion] possible bug in seed argument

2006-07-28 Thread Gary Ruben
See below: Robert Kern wrote: > Gary Ruben wrote: >> Should >> >>> seed(1) >> act the same as >> >>> seed(array([1])) >> in the random module? > > No. They use slightly different mechanisms to seed. The integer uses > RandomKit

Re: [Numpy-discussion] NumPy documentation

2006-08-05 Thread Gary Ruben
All excellent suggestions Albert. What about creating a numpy version of either the main Numeric or numarray document? I would like to see examples included in numpy of all functions. However, I think a better way to do this would be to place all examples in a separate module and create a func