On Mon, Mar 17, 2014 at 1:09 AM, Nguyen Tung <[email protected]> wrote:
> Hi, > > I've worked on the first issue you gave me: > > diophantine(x**3-4*x*y**2+y**3-1) > > I've found a bug in your classify_diop() that yields an error. In line > 322, you put a '==' which should be '='. Bu > Yes that shoul be corrected. I guess it didn't come up as a bug because we currently don't implement solutions for Thue equations. t even I fix that, the code gave me set([]) (which I assume no solution). > That's because solutions for Thue equations have not been implemented. I think it will be better to raise an exception rather than returning the empty set. > Then, I tried to solve the equation by hand and I came up with (1, 0) (0, > 1) (-2, 1) (2, 1) (in the order of (x, y)). Now I have two que > stions: > > - Is my solution complete? > Well, I am not sure. We will have to confirm that by using an independent source. PARI currently solves Thue equations. You can have a look at it. http://pari.math.u-bordeaux.fr/ - Why did you add x**2*y : 0 to the 'coeff' dictionary after after conclude > diop_type = 'cubib thue' ? > That's because the term doesn't appear in the equation. If the algorithms (when they get implemented) need to know the coefficient of x**2*y they can find it in the coeff dictionary. On Thursday, March 13, 2014 3:41:41 PM UTC+2, Nguyen Tung wrote: > >> Hi, >> My name is Tung. I'm 19 and I'm from Vietnam. I have a question >> concerning Diophantine equation. In the very last line of your Ideas list, >> you say there is more work to do. So can you tell me more information about >> this topic and what exactly need to be done ? >> > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/aa4e359a-08a2-4c15-8fdd-d35faf65762a%40googlegroups.com<https://groups.google.com/d/msgid/sympy/aa4e359a-08a2-4c15-8fdd-d35faf65762a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAPnoRopD_jV8_omva6t%3DzeOoC1oFSqA3DcJ4Rj2qXqOCmxgJbQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
