One could also use dummy symbols x0 and y0 with the implicit assumption that f(x0, y0) != 0. If you used this in solving an ODE, would they end up canceling out at the end?
Aaron Meurer On Thu, May 2, 2013 at 6:25 PM, Paanini Navilekar <paanini.navile...@gmail.com> wrote: > As part of a check to see if a function can be separated into a product of > functions of its individual variables, I'm trying to implement an algorithm > based on a theorem by Jose Angel Cid > (http://webs.uvigo.es/angelcid/Archivos/Papers/IJMEST.pdf) > > I need to select a point of (x,y) such that f(x,y) != 0. How should I go > about implementing this? > > Should I randomly keep trying values and checking if they evaluate to zero > using expr.subs() or should I first evaluate the expression using solve(), > and then choose points from RR that don't fall in the solution set of f? > > i.e. if f(x,y) = 0 for x,y = (1,2), then I would choose a random point from > RR - (1,2) > > In my opinion, the second approach seems more logical. > > Thanking You, > > Paanini Navilekar > > > -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to sympy@googlegroups.com. > Visit this group at http://groups.google.com/group/sympy?hl=en-US. > 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 sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.