Too bad the logic for logarithms doesn't seem to be in the new assumptions yet. If it were, you could just do refine(log(exp(f(x))), Q.real(f(x))).
Aaron Meurer On Mon, May 20, 2013 at 8:22 AM, Julien Rioux <julien.ri...@gmail.com> wrote: > On Monday, 20 May 2013 07:44:47 UTC-4, smichr wrote: >> >> It doesn't appear that assumptions are stored with the function so you >> can't search for an applied function and test the assumptions of the >> unapplied function (e.g. f(x).func.is_real -- I don't understand what the >> following means: > > > Chris has given some good workarounds. Here's a reference to the bug > tracker: http://code.google.com/p/sympy/issues/detail?id=3395 > > Cheers, > Julien > > -- > 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.