Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1635 by jorn.baayen: Incorrect multiplication of piecewise  
functions
http://code.google.com/p/sympy/issues/detail?id=1635

In [35]: t=Symbol('t')

In [36]: f=Piecewise((sqrt(2*pi),abs(t) < 0.5), (0, True))

In [37]: f
Out[37]:
⎧  ⎽⎽⎽   ⎽⎽⎽
⎪╲╱ 2 ⋅╲╱ π   for │t│ < 0.5
⎨
⎪     0         otherwise
⎩

In [38]: f*exp(-I*t)
Out[38]:
⎧  ⎽⎽⎽   ⎽⎽⎽                 -ⅈ⋅t
⎪╲╱ 2 ⋅╲╱ π   for │t│ < 0.5⋅ℯ
⎨
⎪     0         otherwise
⎩


I'd expect to see the function value multiplied instead.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to