On Fri, May 30, 2014 at 09:18:44AM -0700, Mark Shoulson wrote:
>  > +        return continued_fraction_rational(cf[:-1]+[x]).subs(x, pure).radsimp()
>  > +    else:
>  > +        return pure.radsimp()
>  > +
>  > +def continued_fraction_periodic_iterator(p, q, d=0):
> 
>    Is it continued_fraction_quadratic you're opposed to, or
>    continued_fraction_periodic_iterator?

continued_fraction_periodic_iterator


>    continued_fraction_periodic. The difference between the latter and
>    continued_fraction_iterator is that continued_fraction_periodic_iterator
>    can take the output of continued_fraction_periodic and produce an iterator
>    that behaves just like such a continued fraction should behave

If you want an infinite iterator - you can just take quadratic
irrational and produce that iterator with continued_fraction_iterator.

>    (or is it the name you don't like? I don't really blame you.)

The name too.