This is continuing threads of a long time ago, when we explored Python and
Continued Fractions (CFs).  As I recall, Tim Peters showed me the
non-recursive algorithms for doing them.  In the module below, however, I'm
doing recursive:

http://mathforum.org/kb/thread.jspa?threadID=1153661&tstart=0

Note it's all set up for doctest unit testing, but I don't actually show
that infrastructure being invoked.  This is partly out of deference to Math
Forum readers being non-Python readers in large degree -- there's only so
much they need to know via that API.

Kirby


_______________________________________________
Edu-sig mailing list
Edu-sig@python.org
http://mail.python.org/mailman/listinfo/edu-sig

Reply via email to