Changes between Version 1 and Version 2 of Ticket #13433, comment 17


Ignore:
Timestamp:
07/29/13 17:08:29 (7 years ago)
Author:
darij
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13433, comment 17

    v1 v2  
    11Mike, thank you for the docstring! I've understood it now. I've just attached my version of your review patch, which adds another example hopefully clarifying how to use sum_generator *in practice*. The example is a bit artificial because right now lazy power series can neither be divided nor subtracted(!!). I've also fixed another typo.
    22
    3 I must say I'm a bit surprised to see division ({{{__div__}}}) defined in {{{generating_series.py}}} but not in {{{series.py}}}. I am also surprised by the lack of {{{_neg_}}} (or {{{__neg__}}}?) in both files, although one can use (-1) * u of course.
     3I must say I'm a bit surprised to see division ({{{__div__}}}) defined in {{{generating_series.py}}} but not in {{{series.py}}}. I am also surprised by the lack of {{{_neg_}}} (or {{{__neg__}}}?) in both files, although one can use (-1) * u of course. Finally, subtraction of lazy power series does not seem to work (it ends in {{{RuntimeError: maximum recursion depth exceeded in __instancecheck__}}}).
    44
    55For patchbot: