[Numpy-discussion] Ufuncs and flexible types, CAPI

2011-12-30 Thread Val Kalatsky
Hi folks, First post, may not follow the standards, please bear with me. Need to define a ufunc that takes care of various type. Fixed - no problem, userdef - no problem, flexible - problem. It appears that the standard ufunc loop does not provide means to deliver the size of variable size items.

Re: [Numpy-discussion] GSOC

2011-12-30 Thread Jaidev Deshpande
Hi Chris > Documentation is specificsly excluded from GSoC (at least it was a > couple years ago when I last was involved) Documentation wasn't excluded last year from GSoC, there were quite a few projects that required a lot of documentation. But yes, there was no "documentation only" project.

Re: [Numpy-discussion] GSOC

2011-12-30 Thread Chris Barker
On Thu, Dec 29, 2011 at 1:36 PM, Ralf Gommers wrote: > First thought: very useful, but probably not GSOC topics by themselves. Documentation is specificsly excluded from GSoC (at least it was a couple years ago when I last was involved) Not sure about testing, but I'd guess it can't be a project

Re: [Numpy-discussion] dtype comparison, hash

2011-12-30 Thread Robert Kern
On Fri, Dec 30, 2011 at 18:57, Andreas Kloeckner wrote: > Hi Robert, > > On Tue, 27 Dec 2011 10:17:41 +, Robert Kern wrote: >> On Tue, Dec 27, 2011 at 01:22, Andreas Kloeckner >> wrote: >> > Hi all, >> > >> > Two questions: >> > >> > - Are dtypes supposed to be comparable (i.e. implement '==

Re: [Numpy-discussion] dtype comparison, hash

2011-12-30 Thread Andreas Kloeckner
Hi Robert, On Tue, 27 Dec 2011 10:17:41 +, Robert Kern wrote: > On Tue, Dec 27, 2011 at 01:22, Andreas Kloeckner > wrote: > > Hi all, > > > > Two questions: > > > > - Are dtypes supposed to be comparable (i.e. implement '==', '!=')? > > Yes. > > > - Are dtypes supposed to be hashable? > >

Re: [Numpy-discussion] Mersenne Twister: Python vs. NumPy

2011-12-30 Thread Alan G Isaac
> On Fri, Dec 30, 2011 at 15:13, Alan wrote: >>> If I seed NumPy's random number generator, I get the >>> expected sequence. On 12/30/2011 10:36 AM, Robert Kern wrote: > What do you mean by "expected"? Where are these expectations coming > from? Other implementations of the Mersenne Twister?

Re: [Numpy-discussion] Mersenne Twister: Python vs. NumPy

2011-12-30 Thread Robert Kern
On Fri, Dec 30, 2011 at 15:13, Alan G Isaac wrote: > If I seed NumPy's random number generator, I get the > expected sequence. What do you mean by "expected"? Where are these expectations coming from? Other implementations of the Mersenne Twister? > If I use the same seed for Python's > random n

[Numpy-discussion] Mersenne Twister: Python vs. NumPy

2011-12-30 Thread Alan G Isaac
If I seed NumPy's random number generator, I get the expected sequence. If I use the same seed for Python's random number generator, I get a different sequence. 1. Why does the Python sequence differ from others? 2. Can I somehow put both MT's in a common state? Thank you, Alan Isaac _