It would be more efficient to call directly the low level poly routines for finding rational solutions. Otherwise, you might waste time constructing radical solutions that you won't use.
Aaron Meurer On Sep 3, 2013, at 11:14 AM, Thilina Rathnayake <[email protected]> wrote: In case of a uni-variable equation, I just passed the equation to `solve()`. I forgot to check whether the results were integers. I'll fix it. Thank you for the information. Regards, Thilina. On Tue, Sep 3, 2013 at 10:31 PM, mario <[email protected]> wrote: > > This is not a diophantine siolution > > >>> diop_solve(x**2 - 2) > [-sqrt(2), sqrt(2)] > > > > > On Tuesday, September 3, 2013 10:20:04 AM UTC+2, Thilina Rathnayake wrote: > >> Thanks ondrej, I will make a pull request improving docs. >> >> Regards, >> Thilina >> >> >> On Tue, Sep 3, 2013 at 11:06 AM, Ondřej Čertík <[email protected]>wrote: >> >>> On Mon, Sep 2, 2013 at 10:02 AM, Thilina Rathnayake >>> <[email protected]> wrote: >>> > Hi Ondrej, >>> > >>> > I made a commit. Please take a look at the PR. Here is the link. >>> > >>> > https://github.com/sympy/**sympy/pull/2303<https://github.com/sympy/sympy/pull/2303> >>> >>> I just merged it. We can now try to figure out a possible higher level >>> API, >>> as well as write some documentation. I will also try to play with the >>> code >>> and see if I find any bugs. >>> >>> Ondrej >>> >>> > >>> > Here is the link of the Travis build. >>> > >>> > https://travis-ci.org/sympy/**sympy/builds/10899313<https://travis-ci.org/sympy/sympy/builds/10899313> >>> > >>> > Regards, >>> > Thilina >>> > >>> > >>> > >>> > >>> > On Mon, Sep 2, 2013 at 8:30 PM, Ondřej Čertík <[email protected]> >>> >>> > wrote: >>> >> >>> >> On Mon, Sep 2, 2013 at 1:01 AM, Thilina Rathnayake >>> >> <[email protected]> wrote: >>> >> > Finally got to know of the bug which was causing the problem. >>> >> > Pernici has fixed it in #2430. After it gets merged, I can commit >>> >> > my changes again and merge my PR. >>> >> >>> >> Awesome! It's merged. >>> >> >>> >> 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 sympy+un...@**googlegroups.com. >>> >> To post to this group, send email to [email protected]. >>> >>> >> Visit this group at >>> >> http://groups.google.com/**group/sympy<http://groups.google.com/group/sympy> >>> . >>> >> For more options, visit >>> >> https://groups.google.com/**groups/opt_out<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 sympy+un...@**googlegroups.com. >>> > To post to this group, send email to [email protected]. >>> >>> > Visit this group at >>> > http://groups.google.com/**group/sympy<http://groups.google.com/group/sympy> >>> . >>> > For more options, visit >>> > https://groups.google.com/**groups/opt_out<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 sympy+un...@**googlegroups.com. >>> To post to this group, send email to [email protected]. >>> >>> Visit this group at >>> http://groups.google.com/**group/sympy<http://groups.google.com/group/sympy> >>> . >>> For more options, visit >>> https://groups.google.com/**groups/opt_out<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. > -- 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.
