pythonic equivalent of Mathematica's FixedPoint function

jelle jelleferinga at gmail.com
Tue Feb 1 10:53:54 EST 2005


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 changes.

thanks, jelle.




More information about the Python-list mailing list