> On 2012-11-07, Nils Bruin wrote:
>> --=_Part_192_12193529.1352305182475
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>>
>>
>> On Tuesday, November 6, 2012 11:12:45 PM UTC-8, Rolandb wrote:
>>>
>>> Hi, have a look at:
>>>
>>> print [p for p in Integer(8).factor(limit=10^6)]
>>>
>>> [(2,
On Wed, Nov 7, 2012 at 2:43 AM, Florent Hivert wrote:
> Hi,
>
>> > So, if you want a general framework, I could imagine that the following
>> > could work. Provide Parent with a method, say,
>> > def to_generator_data(self,x)
>> > which by default raises a NotImplementedError.
>> > And t
Please do!
On Wednesday, November 7, 2012 3:31:59 AM UTC-5, Nicolas M. ThiƩry wrote:
>
> On Tue, Nov 06, 2012 at 07:45:41AM -0800, Volker Braun wrote:
> >I don't know any library that supports it natively. Though perhaps
> one
> >could pick a lower/upper rational approximation for sqrt
On 11/06/2012 10:51 PM, Andrey Novoseltsev wrote:
> On Nov 6, 7:14 am, Jason Grout wrote:
>> What about a[None] returning a? That's a little awkward, I guess.
>>
>> Thanks,
>>
>> Jason
>
> I would never think that a[None] would return a, whatever a is! I'd
> expect something "empty"...
I've jus
Hi,
> > So, if you want a general framework, I could imagine that the following
> > could work. Provide Parent with a method, say,
> > def to_generator_data(self,x)
> > which by default raises a NotImplementedError.
> > And then, there could be a method
> > def from_generator_data(se
On Tue, Nov 06, 2012 at 07:45:41AM -0800, Volker Braun wrote:
>I don't know any library that supports it natively. Though perhaps one
>could pick a lower/upper rational approximation for sqrt(5), say, and
>extract some information that way? I never thought about it, though.
Ok, thanks
On Tue, Nov 06, 2012 at 07:45:41AM -0800, Volker Braun wrote:
>I don't know any library that supports it natively. Though perhaps one
>could pick a lower/upper rational approximation for sqrt(5), say, and
>extract some information that way? I never thought about it, though.
>My own