Re: [Numpy-discussion] Adding new functions to Numpy

2009-07-18 Thread Pauli Virtanen
On 2009-07-18, David Cournapeau wrote: > On Fri, Jul 17, 2009 at 4:11 AM, Pauli Virtanen wrote: [clip] >> Yeah, currently there's no way to do that. I can probably add >> numpy*function/cfunction/... etc. directives that allow this. >> >> An alternative is to use >> >>        .. rubric:: Notes >>

Re: [Numpy-discussion] Optimizing a pure Python Workaround

2009-07-18 Thread Ian Mallett
Hi, Sorry, I've been away in Oregon... The result isn't quite the same. The arrays must be in the range [0,1], so I just have it divide x3 and y. I also have it add 1 to size[1], as I realized that was also necessary for that behavior: x = np.arange(size[0]) x2 = np.column_stack([x,x+1]).resha

Re: [Numpy-discussion] Adding new functions to Numpy

2009-07-18 Thread David Cournapeau
On Fri, Jul 17, 2009 at 4:11 AM, Pauli Virtanen wrote: > On 2009-07-16, David Cournapeau wrote: >> Hi Pauli, >> >> On Sat, Jul 4, 2009 at 9:59 PM, Pauli Virtanen wrote: >>> Hi, >>> >>> When you add new functions to Numpy, please include >>> >>>    .. versionadded:: 1.4.0 >> >> What is the best way