Hi, There is a function in Mathematica that does exactly what you want and it's called Nest. I've reimplemented it in python as general effort to port some functional tools that I like to python. Please check this link if you are interested on it:
http://bitbucket.org/juliusc/functional/src/tip/functional/functional_mathematica.py Hope this helps, Carlos 2009/12/19 Minh Nguyen <nguyenmi...@gmail.com> > Hi Christopher, > > On Sun, Dec 20, 2009 at 6:14 AM, Christopher Olah > <christopherolah...@gmail.com> wrote: > > <SNIP> > > > PS. If your wondering why I'm doing this, have a look at > > > http://christopherolah.wordpress.com/2009/12/19/formation-of-escape-time-fractals/ > > , I'm making some really neat pictures of the formation of escape time > > fractals! > > Those are some pretty eye candies. The link to that blog post of yours > is now posted on the Sage Math Facebook page [1] and has been > twittered [2]. If you want, I could add your Wordpress blog to the > list of blogs on Planet Sage [3]. All you need to do is categorize > Sage specific blog posts as "Sage" and Planet Sage would pick up those > Sage specific posts. > > [1] http://www.facebook.com/pages/Sage-Math/26593144945 > > [2] http://twitter.com/sagemath > > [3] http://planet.sagemath.org > > -- > Regards > Minh Van Nguyen > > -- > To post to this group, send email to sage-support@googlegroups.com > To unsubscribe from this group, send email to > sage-support+unsubscr...@googlegroups.com<sage-support%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/sage-support > URL: http://www.sagemath.org > -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org