#12123: Bug in convolution
------------------------+---------------------------------------------------
   Reporter:  kcrisman  |          Owner:  burcin  
       Type:  defect    |         Status:  new     
   Priority:  major     |      Milestone:  sage-4.8
  Component:  calculus  |       Keywords:          
Work_issues:            |       Upstream:  N/A     
   Reviewer:            |         Author:          
     Merged:            |   Dependencies:          
------------------------+---------------------------------------------------
 {{{

 sage: x = PolynomialRing(QQ,'x').gen()
 sage: f = Piecewise([[(-2, 2), 2 * x^0]])
 sage: g = Piecewise([[(0, 2), 3/4 * x^0]])
 sage: n = f.convolution(g)

 sage: n
 Piecewise defined function with 3 parts, [[(-2, 0), 3/2*x + 3], [(0, 2),
 6], [(2, 4), -3/2*x + 6]]
 }}}
 But the middle piece should be 3, not 6, apparently.

 See the original report at [http://ask.sagemath.org/question/965
 /convolution-got-the-wrong-result this ask.sagemath.org question].

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12123>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to