continued fractions, was: Quality of share vs. src (WAS matrixexp problem (bug ?))



-----maxima-bounces at math.utexas.edu wrote: -----

>Well, I don't know if the code should be moved,
>but how about if we rework the representation to be like other
>Maxima objects? At present continued fraction objects are
>expressions of the form ((MLIST CF) ...) and they are displayed as
>lists. How about if we represent them as ((%CF) ...) and
>display them as either cf(...) or,

Surely, the cleanest way to handle continued fractions would be to modify
simplus and friends. Then, for example, cf(1,2) + cf(3,4) => cf(4,1,3).
(Currently, cf([1,2] + [3,4]) => [4,1,3].) Reworking Maxima's arithmetic
simplification functions would be a good thing (they are slow and
inflexible), but it's a great deal of work.

Barton