Status: Accepted
Owner: asmeurer
CC: [email protected]
Labels: Type-Defect Priority-Medium Polynomial WrongResult

New issue 2687 by asmeurer: factor(extension=[I]) gives wrong results
http://code.google.com/p/sympy/issues/detail?id=2687

In [73]: expand((x - I*y)*(z - I*t))
Out[73]: -ⅈ⋅t⋅x - t⋅y + x⋅z - ⅈ⋅y⋅z

In [74]: factor(expand((x - I*y)*(z - I*t)))
Out[74]: -ⅈ⋅t⋅x - t⋅y + x⋅z - ⅈ⋅y⋅z

In [75]: factor(expand((x - I*y)*(z - I*t)), extension=[I])
Out[75]: x + ⅈ⋅y

I don't know if extension=[I] would really help here, but it should at least not give a wrong results.

--
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