Changes between Initial Version and Version 12 of Ticket #12123


Ignore:
Timestamp:
06/25/16 17:45:36 (3 years ago)
Author:
mkoeppe
Comment:

Description modified to comment that this seems fixed in the new piecewise (#14801).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12123

    • Property Cc kcrisman jondo vbraun slelievre mkoeppe eviatarbach rws added
    • Property Milestone changed from sage-5.11 to sage-7.3
    • Property Summary changed from Bug in convolution to Bug in convolution in old Piecewise
    • Property Priority changed from major to minor
    • Property Stopgaps changed from to todo
    • Property Keywords piecewise added
  • Ticket #12123 – Description

    initial v12  
     1The old Piecewise (pre #14801; now deprecated) has this bug:
     2
    13{{{
    24
     
    1214
    1315See the original report at [http://ask.sagemath.org/question/965/convolution-got-the-wrong-result this ask.sagemath.org question].
     16
     17Note this is fixed in the new `piecewise` (lowercase p, from #14801).
     18{{{
     19sage: x = PolynomialRing(QQ,'x').gen()
     20sage: f = piecewise([[(-2, 2), 2 * x^0]])
     21sage: g = piecewise([[(0, 2), 3/4 * x^0]])
     22sage: n = f.convolution(g)
     23sage: n
     24piecewise(x|-->3/2*x + 3 on (-2, 0], x|-->3 on (0, 2], x|-->-3/2*x + 6 on (2, 4]; x)
     25}}}
     26
     27Can close this bug when the old `Piecewise` is removed completely.
     28