Changes between Initial Version and Version 3 of Ticket #10750


Ignore:
Timestamp:
Sep 13, 2011, 5:07:00 PM (11 years ago)
Author:
kcrisman
Comment:

Okay, it turns out that there are a few problems here.

  • When one solves a single Expression, all args are passed to Expression.solve() which means s_1 goes to multiplicities, and so we are getting multiplicities with the trailing [] and [1].
  • If one does this with three variables, then solution_dict is also True and we get the dict.
  • Then there is the complex/real issue, which I haven't delved into.

We should fix this all so that the solutions make sense and are consistent.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10750

    • Property Cc jhpalmieri added
  • Ticket #10750 – Description

    initial v3  
    1717[[s_0 == 0, s_1 == r11, s_2 == r10]]
    1818}}}
     19
    1920Most of these do make sense, but you'll notice the change from complex to real variables, one place that seems to have a multiplicity, and the one with only a dictionary as output!
     21
     22See also [http://groups.google.com/group/sage-devel/browse_thread/thread/daf0a5da1da38410 this sage-support thread] for another example of where this cropped up.  We need to change the behavior of solve and the documentation to fix this.