#15673: major improvements to lazy power series
-------------------------------------+-------------------------------------
       Reporter:  mhansen            |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  combinatorics      |   Resolution:
       Keywords:  LazyPowerSeries,,  |    Merged in:
  days57                             |    Reviewers:  Ralf Stephan,
        Authors:  Mike Hansen        |  Matthieu Dien
Report Upstream:  N/A                |  Work issues:
         Branch:  u/mantepse/15673   |       Commit:
   Dependencies:                     |  aa8fd83522eaeb583da0caa5c6628ddd1ed36b04
                                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by mantepse):

 Replying to [comment:47 elixyre]:

 > I have a stupid question: the ''lazy'' thing is a trick to compute
 efficiently the coefficient of the product of series or some other
 operations on series, right?

 No.  The laziness is for having potentially infinite sequences.

 > About the code, why does `LazyPowerSeries` only inherit  of
 `AlgebraElement` and not of `Stream`?

 Unless I misunderstand python's inheritance, the point is that a
 `LazyPowerSeries` should not have the methods of it's stream of
 coefficients.

 My current plan is to remove {{{Stream}}} entirely, rename
 {{{SeriesStream}}} to {{{CoefficientStream}}} and make the latter into a
 ring module, which uses the new {{{lazy_list}}}, or, once that is in
 place, Daniel Krenn's {{{InfiniteSequence}}}.

--
Ticket URL: <http://trac.sagemath.org/ticket/15673#comment:48>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to