Hi Ondrej, I implemented the general solution for the Pell equation and I completed the implementation of the case B**2 - 4*A*C > 0 in the quadratic Diophantine equation. Now the solutions for quadratic Diophantine equation is almost complete. However, It took more time than I thought.
There is a bug when B**2 - 4*A*C is a perfect square. Current implementation does not return all the solutions in this case. I added a XFAIL test to reflect this for the time being. I hope to find a fix for this very soon. I made a commit with the new changes. Please take a look at that when you are free. Regards, Thilina On Wed, Jul 3, 2013 at 10:31 PM, Thilina Rathnayake <[email protected]>wrote: > > Yes, That's fine with me too. Thanks for the reply Ondrej. > > Regards, > Thilina > > > > > On Wed, Jul 3, 2013 at 10:25 PM, Ondřej Čertík <[email protected]>wrote: > >> On Wed, Jul 3, 2013 at 10:24 AM, Thilina Rathnayake >> <[email protected]> wrote: >> > >> > There were few notes about it in the paper and I am pretty sure >> > I can find some references for it. If that is the case, is this kind of >> a >> > representation good? >> >> Yes, I think the [(220, 61), (40, 11), (768, 213), (12, 3)] >> representation is very good. >> >> Then your other function takes this and returns the general solution >> in terms of "n", once you implement it. >> >> Ondrej >> >> -- >> 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. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > -- 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. For more options, visit https://groups.google.com/groups/opt_out.
