Re: pythonic equivalent of Mathematica's FixedPoint function

2005-02-02 Thread Terry Reedy
"jelle" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >You could probably write your own FixedPoint function without too much >>difficulty, with the only tricky part being for it to know when to > stop! > > It would be quite interesting to have this kind of function. But > likely

Re: pythonic equivalent of Mathematica's FixedPoint function

2005-02-02 Thread jelle
>You could probably write your own FixedPoint function without too much >difficulty, with the only tricky part being for it to know when to stop! It would be quite interesting to have this kind of function. But likely its far from trivial. FixedPoint seems to be one of the core functions in Mathem

Re: pythonic equivalent of Mathematica's FixedPoint function

2005-02-01 Thread Russell Blau
"jelle" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > doh... > > https://sourceforge.net/projects/fixedpoint > > pardon me > I don't think that Tim's FixedPoint class is doing the same thing as Mathematica's FixedPoint function (or even anything remotely similar). Well, except for

Re: pythonic equivalent of Mathematica's FixedPoint function

2005-02-01 Thread jelle
Ah, i see, that clears up the monetary context. Thank you for your FixedPoint example. Can i help myself out by mentioning that the most simple things are always most difficult ;-) Thanks, Jelle. -- http://mail.python.org/mailman/listinfo/python-list

Re: pythonic equivalent of Mathematica's FixedPoint function

2005-02-01 Thread Tim Peters
[jelle] > I now some hostility to functional programming is flaming up now and > then; still could someone suggest me a pythonic equivalent for > Mathematica's FixedPoint function? For those not familiar with > Mathematica: > > FixedPoint[f, expr] starts with expr, then applies f repeatedly until >

Re: pythonic equivalent of Mathematica's FixedPoint function

2005-02-01 Thread Michael Tobis
We apologise for the previous apology. http://arago4.tn.utwente.nl/stonedead/albums-cds/sketches/another-monty-python-record/apologies.html -- mt -- http://mail.python.org/mailman/listinfo/python-list

Re: pythonic equivalent of Mathematica's FixedPoint function

2005-02-01 Thread jelle
doh... https://sourceforge.net/projects/fixedpoint pardon me -- http://mail.python.org/mailman/listinfo/python-list

pythonic equivalent of Mathematica's FixedPoint function

2005-02-01 Thread jelle
I now some hostility to functional programming is flaming up now and then; still could someone suggest me a pythonic equivalent for Mathematica's FixedPoint function? For those not familiar with Mathematica: FixedPoint[f, expr] starts with expr, then applies f repeatedly until the result no longer