On Sun, Dec 18, 2011 at 7:32 PM, Vincent MAILLE <htcvi...@gmail.com> wrote: > Hello, > > I'm programming a function whitch give the definition set of an > expression (e.g : ln(x+1) => ]-1;+oo[ ). My problem is sympy > simplifies too quick my expression : > > print x/x return 1 before I can extract the 1/x operation (and so > return x<>0). How to say sympy not to symplify ?
Maybe this is what you mean? >>> xx=Mul(x,1/x,evaluate=0) >>> log(xx+1) log(1 + x/x) -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.