#8603: Partial sums are off for Fourier series of piecewise functions
------------------------+---------------------------------------------------
   Reporter:  novoselt  |       Owner:  burcin  
       Type:  defect    |      Status:  new     
   Priority:  major     |   Milestone:  sage-5.0
  Component:  calculus  |    Keywords:          
     Author:            |    Upstream:  N/A     
   Reviewer:            |      Merged:          
Work_issues:            |  
------------------------+---------------------------------------------------
 Doing
 {{{
 f = Piecewise([[(-pi, pi), x]])
 print f.fourier_series_partial_sum(2, pi)
 print f.fourier_series_partial_sum(3, pi)
 }}}
 we get
 {{{
 2*sin(x)
 -sin(2*x) + 2*sin(x)
 }}}
 while according to the documentation we should get the second output with
 the first command.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8603>
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